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.prod.yml
3wc 40ebf3b2dc
Some checks reported errors
continuous-integration/drone/push Build is passing
continuous-integration/drone Build was killed
Switch to old. domain name
2023-02-03 10:33:16 -08:00

36 lines
1011 B
YAML

---
version: "3.8"
services:
jekyll:
image: decentral1se/autonomic.zone:latest
command: |
bundle exec
jekyll serve --host 0.0.0.0 --trace
environment:
JEKYLL_ENV: production
networks:
- proxy
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:4000"]
interval: 15s
timeout: 10s
retries: 10
start_period: 20s
deploy:
update_config:
failure_action: rollback
order: start-first
labels:
- "traefik.enable=true"
- "traefik.http.services.jekyll.loadbalancer.server.port=4000"
- "traefik.http.routers.jekyll.rule=Host(`old.autonomic.zone`) || Host(`www.old.autonomic.zone`)"
- "traefik.http.routers.jekyll.entrypoints=web-secure"
- "traefik.http.routers.jekyll.tls.certresolver=production"
- "traefik.http.routers.jekyll.tls.options=default@file"
- "traefik.http.routers.jekyll.middlewares=security@file"
networks:
proxy:
external: true