mirror of
https://github.com/tgdrive/teldrive.git
synced 2024-11-13 03:04:34 +08:00
33 lines
626 B
YAML
33 lines
626 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
server:
|
|
image: ghcr.io/divyam234/teldrive/server:latest
|
|
restart: always
|
|
container_name: server
|
|
volumes:
|
|
- ./sessions:/app/sessions:rw
|
|
- ./database:/app/database
|
|
env_file: .env
|
|
ports:
|
|
- 8080
|
|
|
|
client:
|
|
image: ghcr.io/divyam234/teldrive/client:latest
|
|
restart: always
|
|
container_name: client
|
|
ports:
|
|
- 3000
|
|
|
|
haproxy:
|
|
image: haproxy:latest
|
|
volumes:
|
|
- ./haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg
|
|
# ports:
|
|
# - 80:80
|
|
# - 443:443
|
|
ports:
|
|
- 8000:8000
|
|
depends_on:
|
|
- server
|
|
- client
|