mirror of
https://github.com/tgdrive/teldrive.git
synced 2024-11-10 09:02:52 +08:00
34 lines
No EOL
667 B
YAML
34 lines
No EOL
667 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
|
|
|
|
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 |