45 lines
1.0 KiB
YAML
45 lines
1.0 KiB
YAML
version: '3.3'
|
|
|
|
services:
|
|
webhook:
|
|
image: cryptkiddie2/webhook-docker:latest
|
|
restart: always
|
|
labels:
|
|
- traefik.frontend.rule=Host:site.webhook.nachtigall.chaospott.de
|
|
- traefik.port=9000
|
|
- traefik.docker.network=web
|
|
networks:
|
|
- extern
|
|
expose:
|
|
- 9000
|
|
volumes:
|
|
- ${DATA_ROOT}/webhook/:/webhook
|
|
- ${DATA_ROOT}/repo/:/repo
|
|
command: [-hooks, /webhook/hooks.json, -verbose]
|
|
jekyll:
|
|
image: jekyll/jekyll
|
|
restart: always
|
|
command: [/usr/jekyll/bin/jekyll, build, --source, /repo/, --destination, /static, --watch]
|
|
volumes:
|
|
- ${DATA_ROOT}/repo/:/repo
|
|
- ${DATA_ROOT}/static/:/static
|
|
nginx:
|
|
image: nginx:latest
|
|
restart: always
|
|
volumes:
|
|
- ${DATA_ROOT}/static/:/usr/share/nginx/html
|
|
- ./configs/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
|