diff --git a/Dockerfile b/Dockerfile index b6b155e..6d981f8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,4 +21,4 @@ COPY . /opt/eventman/ WORKDIR /opt/eventman/ ENTRYPOINT ["./eventman_server.py"] -CMD ["--debug"] +CMD ["--debug", "--mongo_url=mongodb://eventman-mongo"] diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..125e9a9 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,8 @@ +version: '3' +services: + eventman: + build: . + ports: + - "5242:5242" + eventman-mongo: + image: "mongo:latest"