Create docker-compose.yml

This commit is contained in:
Jens Willmer 2019-03-29 10:13:20 +01:00 committed by Nicolas Carlier
parent 7a62d4a9c4
commit 65dccefe7d

19
docker-compose.yml Normal file
View File

@ -0,0 +1,19 @@
version: "3.5"
services:
webhookd:
hostname: webhookd
image: ncarlier/webhookd:latest
container_name: webhookd
restart: always
networks:
- default
ports:
- "8080:8080"
environment:
- APP_SCRIPTS_DIR=/scripts
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ~/docker/webhookd/scripts:/scripts
- ~/docker/webhookd/logs:/tmp