diff --git a/tronbyt/docker-compose.yaml b/tronbyt/docker-compose.yaml new file mode 100644 index 0000000..7ffd687 --- /dev/null +++ b/tronbyt/docker-compose.yaml @@ -0,0 +1,29 @@ +services: + tronbyt: + container_name: tronbyt + image: ghcr.io/tronbyt/server:2 # latest v2.x.x release tag + restart: unless-stopped + init: true + ports: + - "8000:8000" + volumes: + - "/etc/localtime:/etc/localtime:ro" + - /srv/tronbyt-data:/app/data + environment: + - PUID=1000 + - PGID=1000 + # - SYSTEM_APPS_REPO=https://github.com/tronbyt/apps.git + # - ENABLE_USER_REGISTRATION=false + # - SINGLE_USER_AUTO_LOGIN=true + # - GITHUB_TOKEN=${TRONBYT_GITHUB_TOKEN} + healthcheck: + test: ["CMD", "/app/tronbyt-server", "health"] + interval: 1m30s + timeout: 10s + retries: 3 + start_period: 10s + +networks: + default: + external: + name: npm-network