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:18:38 +08:00
|
|
|
image: ghcr.io/divyam234/teldrive/server:test
|
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
|
2023-08-18 03:43:36 +08:00
|
|
|
|
2023-08-24 19:18:38 +08:00
|
|
|
haproxy:
|
|
|
|
image: haproxy:latest
|
2023-08-16 20:48:32 +08:00
|
|
|
volumes:
|
2023-08-24 19:18:38 +08:00
|
|
|
- ./haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg
|
|
|
|
# ports:
|
|
|
|
# - 80:80
|
|
|
|
# - 443:443
|
2023-08-16 20:48:32 +08:00
|
|
|
ports:
|
2023-08-24 19:18:38 +08:00
|
|
|
- 8000:8000
|
2023-08-16 20:48:32 +08:00
|
|
|
depends_on:
|
2023-08-24 19:18:38 +08:00
|
|
|
- server
|
|
|
|
- client
|