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

36 lines
1011 B
YAML
Raw Normal View History

2020-05-01 08:30:31 +00:00
---
2020-06-24 13:08:50 +00:00
version: "3.8"
2020-05-01 08:30:31 +00:00
services:
jekyll:
2020-09-25 11:13:30 +00:00
image: decentral1se/autonomic.zone:latest
command: |
bundle exec
jekyll serve --host 0.0.0.0 --trace
environment:
JEKYLL_ENV: production
2020-05-01 08:30:31 +00:00
networks:
- proxy
2020-06-24 13:08:50 +00:00
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:4000"]
interval: 15s
timeout: 10s
retries: 10
start_period: 20s
2020-05-01 08:30:31 +00:00
deploy:
update_config:
failure_action: rollback
2020-06-24 13:08:50 +00:00
order: start-first
2020-05-01 08:30:31 +00:00
labels:
- "traefik.enable=true"
2020-05-01 08:41:21 +00:00
- "traefik.http.services.jekyll.loadbalancer.server.port=4000"
2023-02-03 18:29:47 +00:00
- "traefik.http.routers.jekyll.rule=Host(`old.autonomic.zone`) || Host(`www.old.autonomic.zone`)"
2020-05-01 08:35:34 +00:00
- "traefik.http.routers.jekyll.entrypoints=web-secure"
2020-06-24 13:08:50 +00:00
- "traefik.http.routers.jekyll.tls.certresolver=production"
2020-10-27 12:24:15 +00:00
- "traefik.http.routers.jekyll.tls.options=default@file"
2020-10-27 11:56:05 +00:00
- "traefik.http.routers.jekyll.middlewares=security@file"
2020-05-01 08:30:31 +00:00
networks:
proxy:
external: true