teldrive/docker-compose.yml

33 lines
631 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-16 20:48:32 +08:00
image: ghcr.io/divyam234/teldrive/server:latest
restart: always
container_name: server
volumes:
- ./sessions:/app/sessions
env_file: .env
ports:
- 8080
client:
image: ghcr.io/divyam234/teldrive/client:latest
restart: always
container_name: client
ports:
- 3000
2023-08-16 20:48:32 +08:00
nginx:
image: nginx:alpine
restart: always
container_name: nginx
volumes:
- ./nginx.conf:/etc/nginx/conf.d/default.conf
- ./certs:/etc/nginx/certs:ro
ports:
- 80:80
- 443:443
depends_on:
- server
- client