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