Running Proxy with host UID and GUID

Fixes #2
This commit is contained in:
Stefan Allius
2023-09-28 21:46:02 +02:00
parent 125f681bec
commit c0a2a705ec
3 changed files with 59 additions and 21 deletions

View File

@@ -67,19 +67,16 @@ services:
tsun-proxy:
container_name: tsun-proxy
image: ghcr.io/s-allius/tsun-gen3-proxy:latest
build:
context: https://github.com/s-allius/tsun-gen3-proxy.git#main:app
args:
- UID=1000
restart: unless-stopped
depends_on:
- mqtt
environment:
- TZ=Europe/Brussels
- SERVICE_NAME=tsun-proxy
- UID=${UID:-1000}
- GID=${GID:-1000}
dns:
- 8.8.8.8
- 4.4.4.4
- ${DNS1:-8.8.8.8}
- $(DNS2:-4.4.4.4}
ports:
- 5005:5005
volumes: