programm-webhook/docker-compose.yml

31 lines
560 B
YAML

version: '3.8'
services:
nginx:
image: nginx:latest
ports:
- "80:80"
volumes:
- static-files:/usr/share/nginx/html
- webhooks-git-ssh:/root/.ssh
- webhooks-git-data:/etc/webhook/
webhooks-git:
build:
context: ./webhooks-git
dockerfile: Dockerfile
volumes:
- static-files:/etc/static-files
volumes:
static-files:
name: static-files
external: true
webhooks-git-ssh:
name: webhooks-git-ssh
external: true
webhooks-git-data:
name: webhooks-git-data
external: true