Skip to content
Snippets Groups Projects
Commit 23296785 authored by Michele Chiari's avatar Michele Chiari
Browse files

Add docker-compose.yaml

parent 1055a89d
No related branches found
No related tags found
No related merge requests found
......@@ -43,6 +43,8 @@ And then run it with
docker run -d wp4/dmc
```
The Uvicorn server will be running and listening on port 80 of the container.
To use it locally, you may e.g. bind it with port 8080 of `localhost`
by adding `-p 127.0.0.1:8080:80/tcp` to the `docker run` command.
## Building the Documentation
......
version: '3.9'
services:
dmc:
build: .
ports:
- "8080:80"
environment:
UVICORN_PORT: 80
UVICORN_HOST: "0.0.0.0"
UVICORN_WORKERS: 2
......@@ -58,7 +58,8 @@ And then run it with::
docker run -d wp4/dmc
The Uvicorn server will be running and listening on port 80 of the container.
To use it locally, you may e.g. bind it with port 8080 of ``localhost``
by adding ``-p 127.0.0.1:8080:80/tcp`` to the ``docker run`` command.
Building the Documentation
--------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment