This repository has been archived on 2023-02-03. You can view files and clone it, but cannot push or open issues or pull requests.
autonomic.zone/docker-compose.production.yml
Luke Murphy 15c9d4a153
All checks were successful
continuous-integration/drone/push Build is passing
Build the tag
2020-05-02 18:31:46 +02:00

30 lines
750 B
YAML

---
version: "3.7"
services:
jekyll:
image: decentral1se/autonomic.zone:v2.0.0
command: jekyll serve --host 0.0.0.0 --trace
environment:
JEKYLL_ENV: production
networks:
- proxy
deploy:
mode: replicated
replicas: 1
update_config:
failure_action: rollback
placement:
constraints:
- node.role == manager
labels:
- "traefik.enable=true"
- "traefik.http.services.jekyll.loadbalancer.server.port=4000"
- "traefik.http.routers.jekyll.rule=Host(`site.swarm.autonomic.zone`)"
- "traefik.http.routers.jekyll.entrypoints=web-secure"
- "traefik.http.routers.jekyll.tls.certresolver=staging"
networks:
proxy:
external: true