kcl-digital-humanities-garden/docker-compose.yml
tobias dfffae35b2
Some checks reported errors
GitHub Pages Deploy / deploy (push) Waiting to run
JS Lint / lint (push) Waiting to run
HTMLProofer / test (2.7) (push) Waiting to run
HTMLProofer / test (3.0) (push) Waiting to run
continuous-integration/drone/push Build encountered an error
Attempt at drone deploy
2024-07-10 10:00:42 +02:00

38 lines
932 B
YAML

---
version: "3.8"
services:
app:
image: git.autonomic.zone/autonomic-cooperative/kcl-site:latest
networks:
- proxy
volumes:
- html_content:/usr/share/nginx/html
configs:
- source: nginx_conf
target: /etc/nginx/nginx.conf
deploy:
update_config:
failure_action: rollback
order: start-first
labels:
- "traefik.enable=true"
- "traefik.http.services.${STACK_NAME}-jekyll.loadbalancer.server.port=80"
- "traefik.http.routers.${STACK_NAME}-jekyll.rule=Host(`${DOMAIN}`)"
- "traefik.http.routers.${STACK_NAME}-jekyll.entrypoints=web-secure"
- "traefik.http.routers.${STACK_NAME}-jekyll.tls.certresolver=production"
networks:
proxy:
external: true
internal:
volumes:
html_content:
configs:
nginx_conf:
name: ${STACK_NAME}_nginx_conf_${NGINX_CONF_VERSION}
file: nginx.conf
template_driver: golang