30 lines
767 B
YAML
30 lines
767 B
YAML
services:
|
|
tronbyt:
|
|
container_name: tronbyt
|
|
image: ghcr.io/tronbyt/server:2 # latest v2.x.x release tag
|
|
restart: unless-stopped
|
|
init: true
|
|
ports:
|
|
- "8001:8000" # host 8000 is taken by portainer
|
|
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
|