zola/site-example/docker-compose.yml

30 lines
702 B
YAML
Raw Permalink Normal View History

2019-07-24 12:32:17 +00:00
version: '3.5'
services:
app:
image: jjtc/inventorstale-com:0.8.0-r0
restart: unless-stopped
volumes:
- ./app/nginx.conf:/etc/nginx/nginx.conf:ro
- ./app/default.conf:/etc/nginx/sites-enabled/default:ro
- data:/app/public:ro
expose:
- "80/tcp"
networks:
- web
labels:
- "traefik.frontend.headers.STSPreload=true"
- "traefik.frontend.headers.STSSeconds=31536000"
- "traefik.backend=zola"
- "traefik.docker.network=web"
- "traefik.frontend.rule=Host:${APP_URL_BASE}"
- "traefik.enable=true"
- "traefik.port=80"
- "traefik.default.protocol=http"
networks:
web:
external: true
volumes:
data: