site-deploy/docker-compose.yml

44 lines
1.0 KiB
YAML

version: '3.3'
services:
webhook:
image: cryptkiddie2/webhook:latest
restart: always
labels:
- "traefik.frontend.rule=Host:site.webhook.nachtigall.chaospott.de"
- "traefik.port=9000"
- "traefik.docker.network=web"
networks:
- extern
expose:
- 80
volumes:
- /data/rasen-nein-danke.de/webhook/:/webhook
- /data/beta.chaospott.de/repo/:/repo
jekyll:
image: jekyll/jekyll
restart: always
command: ["/usr/jekyll/bin/jekyll", "build", "--source", "/repo/web", "--destination", "/static", "--watch"]
volumes:
- /data/beta.chaospott.de/repo/:/repo
- /data/beta.chaospott.de/static/:/static
nginx:
image: nginx:latest
restart: always
volumes:
- /data/beta.chaospott.de/static/:/usr/share/nginx/html
- ./nginx:/etc/nginx
labels:
- "traefik.frontend.rule=Host:beta.chaospott.de"
- "traefik.port=80"
- "traefik.docker.network=web"
networks:
- extern
expose:
- 80
networks:
extern:
external:
name: web