updated and added init script

This commit is contained in:
Zehka
2020-07-05 17:56:22 +02:00
parent 5721a871bd
commit bd3d9e1856
17 changed files with 55 additions and 37 deletions
+15 -14
View File
@@ -2,36 +2,37 @@ version: '3.3'
services:
webhook:
image: cryptkiddie2/webhook:latest
image: cryptkiddie2/webhook-docker:latest
restart: always
labels:
- "traefik.frontend.rule=Host:site.webhook.nachtigall.chaospott.de"
- "traefik.port=9000"
- "traefik.docker.network=web"
- traefik.frontend.rule=Host:site.webhook.nachtigall.chaospott.de
- traefik.port=9000
- traefik.docker.network=web
networks:
- extern
expose:
- 80
- 9000
volumes:
- /data/rasen-nein-danke.de/webhook/:/webhook
- /data/beta.chaospott.de/repo/:/repo
- ${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/web", "--destination", "/static", "--watch"]
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
- ${DATA_ROOT}/repo/:/repo
- ${DATA_ROOT}/static/:/static
nginx:
image: nginx:latest
restart: always
volumes:
- /data/beta.chaospott.de/static/:/usr/share/nginx/html
- ${DATA_ROOT}/static/:/usr/share/nginx/html
- ./nginx:/etc/nginx
labels:
- "traefik.frontend.rule=Host:beta.chaospott.de"
- "traefik.port=80"
- "traefik.docker.network=web"
- traefik.frontend.rule=Host:beta.chaospott.de
- traefik.port=80
- traefik.docker.network=web
networks:
- extern
expose: