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