Files
octopus/webhook/docker-compose.yml

16 lines
684 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
services:
webhook:
image: alpine:3.19
container_name: webhook-receiver
command: [ "sh", "-c", "apk add --no-cache webhook docker-cli && webhook -hooks /etc/webhook/hooks.json -verbose" ]
volumes:
- ./hooks.json:/etc/webhook/hooks.json:ro
- ./scripts:/etc/webhook/scripts:ro
- /var/run/docker.sock:/var/run/docker.sock:ro
- /Volume1/DockerAppsData/git:/Volume1/DockerAppsData/git:ro
- /Volume1/DockerAppsData/mixapp:/Volume1/DockerAppsData/mixapp
# ДОБАВЛЕНО: Монтируем папку с docker-compose файлами
- /Volume1/DockerYAML:/Volume1/DockerYAML
network_mode: host
restart: unless-stopped