diff --git a/compose/twingate/.env b/compose/twingate/.env new file mode 100644 index 0000000..d125169 --- /dev/null +++ b/compose/twingate/.env @@ -0,0 +1,3 @@ +TWINGATE_NETWORK= +TWINGATE_ACCESS_TOKEN= +TWINGATE_REFRESH_TOKEN= \ No newline at end of file diff --git a/compose/twingate/docker-compose.yml b/compose/twingate/docker-compose.yml new file mode 100644 index 0000000..56908a2 --- /dev/null +++ b/compose/twingate/docker-compose.yml @@ -0,0 +1,15 @@ +services: + twingate_connector: + container_name: + security_opt: + - apparmor:unconfined + restart: always + image: twingate/connector:latest + environment: + - TWINGATE_NETWORK=${TWINGATE_NETWORK} + - TWINGATE_ACCESS_TOKEN=${TWINGATE_ACCESS_TOKEN} + - TWINGATE_REFRESH_TOKEN=${TWINGATE_REFRESH_TOKEN} + - TWINGATE_LOG_ANALYTICS=v2 + - TWINGATE_LOG_LEVEL=3 + sysctls: + net.ipv4.ping_group_range: "0 2147483647" \ No newline at end of file