programm-webhook/docker-compose.yml

34 lines
625 B
YAML

version: '3.8'
services:
nginx:
image: nginx:latest
volumes:
- static-files:/usr/share/nginx/html
- webhooks-git-ssh:/root/.ssh
- webhooks-git-data:/etc/webhook/
networks:
- nginx-network
webhooks-git:
build:
context: ./webhooks-git
dockerfile: Dockerfile
volumes:
- static-files:/etc/static-files
networks:
- webhooks-git-network
volumes:
static-files:
webhooks-git-ssh:
webhooks-git-data:
network:
nginx-network:
name: ${NGINX_NETWORK}
external: true
webhooks-git-network:
name: ${WEBHOOK_GIT_NETWORK}
external: true