test
This commit is contained in:
8
compose/webhook/deploy/Dockerfile
Normal file
8
compose/webhook/deploy/Dockerfile
Normal file
@@ -0,0 +1,8 @@
|
||||
FROM thecatlady/webhook:2.8.0
|
||||
|
||||
USER root
|
||||
|
||||
RUN apk add --no-cache git docker-cli bash openssh-client docker-compose
|
||||
|
||||
RUN mkdir -p /root/.ssh && \
|
||||
ssh-keyscan 192.168.178.204 >> /root/.ssh/known_hosts
|
||||
19
compose/webhook/docker-compose.yml
Normal file
19
compose/webhook/docker-compose.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
services:
|
||||
bruchtal-webhook:
|
||||
build: ./deploy
|
||||
container_name: webhook
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "9001:9001"
|
||||
volumes:
|
||||
- /docker/Bruchtal:/workspace
|
||||
- /docker/Bruchtal/scripts/webhook-deploy/hooks.json:/hooks/hooks.json:ro
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- /root/.ssh:/root/.ssh:ro
|
||||
command: ["-hooks", "/hooks/hooks.json", "-verbose", "-port", "9001", "-ip", "0.0.0.0"]
|
||||
networks:
|
||||
- bruchtal-net
|
||||
|
||||
networks:
|
||||
bruchtal-net:
|
||||
external: true
|
||||
Reference in New Issue
Block a user