2020-05-03 18:48:50 +00:00
|
|
|
version: '3.3'
|
|
|
|
|
|
|
|
services:
|
|
|
|
webhook:
|
2020-07-05 15:56:22 +00:00
|
|
|
image: cryptkiddie2/webhook-docker:latest
|
2020-05-03 18:48:50 +00:00
|
|
|
restart: always
|
|
|
|
labels:
|
2020-07-05 16:38:38 +00:00
|
|
|
- traefik.frontend.rule=Host:${WEBHOOK_DOMAIN}
|
2020-07-05 15:56:22 +00:00
|
|
|
- traefik.port=9000
|
|
|
|
- traefik.docker.network=web
|
2020-05-03 18:48:50 +00:00
|
|
|
networks:
|
|
|
|
- extern
|
|
|
|
expose:
|
2020-07-05 15:56:22 +00:00
|
|
|
- 9000
|
2020-05-03 18:48:50 +00:00
|
|
|
volumes:
|
2020-07-05 15:56:22 +00:00
|
|
|
- ${DATA_ROOT}/webhook/:/webhook
|
|
|
|
- ${DATA_ROOT}/repo/:/repo
|
|
|
|
command: [-hooks, /webhook/hooks.json, -verbose]
|
2020-05-03 18:48:50 +00:00
|
|
|
jekyll:
|
|
|
|
image: jekyll/jekyll
|
|
|
|
restart: always
|
2020-07-05 16:26:33 +00:00
|
|
|
command: [/usr/jekyll/bin/jekyll, build, --source, /repo/, --destination, /static, --watch]
|
2020-05-03 18:48:50 +00:00
|
|
|
volumes:
|
2020-07-05 15:56:22 +00:00
|
|
|
- ${DATA_ROOT}/repo/:/repo
|
|
|
|
- ${DATA_ROOT}/static/:/static
|
2020-05-03 18:48:50 +00:00
|
|
|
nginx:
|
|
|
|
image: nginx:latest
|
|
|
|
restart: always
|
|
|
|
volumes:
|
2020-07-05 15:56:22 +00:00
|
|
|
- ${DATA_ROOT}/static/:/usr/share/nginx/html
|
2020-07-05 16:01:19 +00:00
|
|
|
- ./configs/nginx:/etc/nginx
|
2020-05-03 18:48:50 +00:00
|
|
|
labels:
|
2020-07-06 08:58:19 +00:00
|
|
|
- traefik.frontend.rule=Host:chaospott.de
|
2020-07-05 15:56:22 +00:00
|
|
|
- traefik.port=80
|
|
|
|
- traefik.docker.network=web
|
2020-05-03 18:48:50 +00:00
|
|
|
networks:
|
|
|
|
- extern
|
|
|
|
expose:
|
|
|
|
- 80
|
2020-07-06 08:58:19 +00:00
|
|
|
www-redirector:
|
|
|
|
image: cryptkiddie2/redirector:latest
|
|
|
|
restart: always
|
|
|
|
expose:
|
|
|
|
- 80
|
|
|
|
labels:
|
|
|
|
- traefik.frontend.rule=Host:www.chaospott.de
|
|
|
|
- traefik.port=80
|
|
|
|
- traefik.frontend.passHostHeader=true
|
|
|
|
environment:
|
|
|
|
- dest=https://chaospott.de
|
|
|
|
networks:
|
|
|
|
extern:
|
2020-05-03 18:48:50 +00:00
|
|
|
|
|
|
|
networks:
|
|
|
|
extern:
|
|
|
|
external:
|
|
|
|
name: web
|