teldrive/docker-compose.yml

34 lines
626 B
YAML
Raw Normal View History

2023-08-16 20:48:32 +08:00
version: "3.8"
services:
2023-08-16 23:27:00 +08:00
server:
2023-08-24 19:19:46 +08:00
image: ghcr.io/divyam234/teldrive/server:latest
2023-08-16 20:48:32 +08:00
restart: always
container_name: server
volumes:
2023-08-19 00:10:38 +08:00
- ./sessions:/app/sessions:rw
2023-08-18 05:25:22 +08:00
- ./database:/app/database
2023-08-16 20:48:32 +08:00
env_file: .env
ports:
- 8080
client:
image: ghcr.io/divyam234/teldrive/client:latest
restart: always
container_name: client
ports:
- 3000
haproxy:
image: haproxy:latest
2023-08-16 20:48:32 +08:00
volumes:
- ./haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg
# ports:
# - 80:80
# - 443:443
2023-08-16 20:48:32 +08:00
ports:
- 8000:8000
2023-08-16 20:48:32 +08:00
depends_on:
- server
2023-08-24 19:19:46 +08:00
- client