forked from tronbyt/server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
21 lines (21 loc) · 898 Bytes
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
services:
web:
image: ghcr.io/tavdog/tronbyt-server:latest
restart: unless-stopped
ports:
- "${SERVER_PORT}:8000" # Map port 8000 on the host to port 8000 in the container
- "${PIXLET_SERVE_PORT1}:5100" # 5100 is used for pixlet serve interface during app configuration
- "${PIXLET_SERVE_PORT2}:5101" # user 2, add 1 incremented port each additional user you want or use host network_mode
volumes:
- "/etc/localtime:/etc/localtime:ro" # used to sync docker with host time
- users:/app/users
- webp:/app/tronbyt_server/webp
environment:
- SERVER_HOSTNAME=${SERVER_HOSTNAME_OR_IP:?SERVER_HOSTNAME_OR_IP MUST BE SET IN .env FILE !!!!!!!!!!!!!!!!!.}
- SERVER_PORT=${SERVER_PORT}
- PIXLET_RENDER_PORT1=${PIXLET_SERVE_PORT1}
- SYSTEM_APPS_REPO=${SYSTEM_APPS_REPO}
- PRODUCTION=${PRODUCTION}
volumes:
users:
webp: