mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2024-12-15 00:46:22 +00:00
31 lines
663 B
YAML
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: ''
|