filesafe/docker/docker-compose.yml
2022-06-22 15:40:52 +07:00

31 lines
663 B
YAML

version: "3.7"
services:
nginx:
build:
context: ./nginx
dockerfile: Dockerfile
expose:
- "80"
- "443"
ports:
- "80:80"
- "443:443"
restart: unless-stopped
healthcheck:
test: ["CMD", "service", "nginx", "status"]
interval: 60s
timeout: 5s
lolisafe:
build:
context: ../
dockerfile: ./docker/lolisafe/Dockerfile
expose:
- "9999"
restart: unless-stopped
environment:
PORT: 9999
DOMAIN: ''
HOME_DOMAIN: ''