add docker-compose file

This commit is contained in:
Davide Alberani 2017-11-26 19:52:08 +01:00
parent f05f34f09a
commit e9257a42a7
2 changed files with 9 additions and 1 deletions

View file

@ -21,4 +21,4 @@ COPY . /opt/eventman/
WORKDIR /opt/eventman/
ENTRYPOINT ["./eventman_server.py"]
CMD ["--debug"]
CMD ["--debug", "--mongo_url=mongodb://eventman-mongo"]

8
docker-compose.yml Normal file
View file

@ -0,0 +1,8 @@
version: '3'
services:
eventman:
build: .
ports:
- "5242:5242"
eventman-mongo:
image: "mongo:latest"