add docker-compose file
This commit is contained in:
parent
f05f34f09a
commit
e9257a42a7
2 changed files with 9 additions and 1 deletions
|
@ -21,4 +21,4 @@ COPY . /opt/eventman/
|
||||||
|
|
||||||
WORKDIR /opt/eventman/
|
WORKDIR /opt/eventman/
|
||||||
ENTRYPOINT ["./eventman_server.py"]
|
ENTRYPOINT ["./eventman_server.py"]
|
||||||
CMD ["--debug"]
|
CMD ["--debug", "--mongo_url=mongodb://eventman-mongo"]
|
||||||
|
|
8
docker-compose.yml
Normal file
8
docker-compose.yml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
version: '3'
|
||||||
|
services:
|
||||||
|
eventman:
|
||||||
|
build: .
|
||||||
|
ports:
|
||||||
|
- "5242:5242"
|
||||||
|
eventman-mongo:
|
||||||
|
image: "mongo:latest"
|
Loading…
Reference in a new issue