feat(deploy): vollständige Containerlösung
This commit is contained in:
@@ -1,28 +1,12 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
bruchtal-webhook:
|
||||
image: thecatlady/webhook:2.8.0
|
||||
build: ./deploy
|
||||
container_name: bruchtal-webhook
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- bruchtal-net # 👈 neu für gitea
|
||||
volumes:
|
||||
- /docker/Bruchtal/deploy/hooks.json:/hooks/hooks.json:ro
|
||||
- /docker/Bruchtal:/docker/Bruchtal:rw
|
||||
command: ["-hooks", "/hooks/hooks.json", "-verbose", "-port", "9001", "-ip", "0.0.0.0"]
|
||||
|
||||
|
||||
bruchtal-deploy:
|
||||
build: ./deploy
|
||||
container_name: bruchtal-deploy
|
||||
networks:
|
||||
- bruchtal-net
|
||||
ports:
|
||||
- "9001:9001"
|
||||
volumes:
|
||||
- /docker/Bruchtal:/workspace
|
||||
- /docker/Bruchtal/deploy/hooks.json:/hooks/hooks.json:ro
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
entrypoint: ["sleep", "infinity"]
|
||||
|
||||
networks:
|
||||
bruchtal-net:
|
||||
external: true
|
||||
command: ["-hooks", "/hooks/hooks.json", "-verbose", "-port", "9001", "-ip", "0.0.0.0"]
|
||||
Reference in New Issue
Block a user