mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-07 08:54:04 +01:00
twingate compose file
This commit is contained in:
parent
3c71705a74
commit
50cc36935e
24
docker-compose/twingate/connector/docker-compose.yaml
Normal file
24
docker-compose/twingate/connector/docker-compose.yaml
Normal file
@ -0,0 +1,24 @@
|
||||
---
|
||||
# -- (Optional) When using a custom network
|
||||
# networks:
|
||||
# your-custom-network:
|
||||
# -- (Optional) When attaching an external network
|
||||
# external: true
|
||||
services:
|
||||
twingate_connector:
|
||||
container_name: twingate_connector
|
||||
image: twingate/connector:latest
|
||||
environment:
|
||||
- TWINGATE_NETWORK=your-twingate-network
|
||||
- TWINGATE_ACCESS_TOKEN=${TWINGATE_ACCESS_TOKEN}
|
||||
- TWINGATE_REFRESH_TOKEN=${TWINGATE_REFRESH_TOKEN}
|
||||
# -- (Optional) Change loglevel
|
||||
# - TWINGATE_LOG_LEVEL=3
|
||||
# -- (Optional) Add custom DNS Server
|
||||
# - TWINGATE_DNS=10.20.0.1
|
||||
sysctls:
|
||||
net.ipv4.ping_group_range: "0 2147483647"
|
||||
# -- (Optional) When using a custom network
|
||||
# networks:
|
||||
# - your-custom-network
|
||||
restart: unless-stopped
|
Loading…
Reference in New Issue
Block a user