29 lines
716 B
YAML
29 lines
716 B
YAML
services:
|
|
lander:
|
|
image: nginx:alpine
|
|
container_name: freealberta-lander
|
|
ports:
|
|
- "${LANDER_PORT:-3020}:80"
|
|
volumes:
|
|
- ./public:/usr/share/nginx/html:ro
|
|
- ./nginx/default.conf:/etc/nginx/conf.d/default.conf:ro
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "curl -f http://localhost/ || exit 1"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 10s
|
|
networks:
|
|
- changemaker-lite-freealberta
|
|
logging:
|
|
driver: "json-file"
|
|
options:
|
|
max-size: "5m"
|
|
max-file: "2"
|
|
|
|
networks:
|
|
changemaker-lite-freealberta:
|
|
name: changemaker-lite-freealberta_changemaker-lite-freealberta
|
|
external: true
|