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

32 lines
826 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-05-02 16:31:46 +00:00
image: decentral1se/autonomic.zone:v2.0.0
2020-06-24 13:08:50 +00:00
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"
2020-06-24 13:08:50 +00:00
- "traefik.http.routers.jekyll.rule=Host(`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-05-01 08:30:31 +00:00
networks:
proxy:
external: true