Skip to content
Snippets Groups Projects
Commit c4e330bb authored by Jan David Mol's avatar Jan David Mol
Browse files

Task LSMR-102: Link docker containers together, instead of all using the localhost network

parent efd86190
Branches
Tags
1 merge request!87Lsmr epic
......@@ -5,8 +5,8 @@ To build:
To start the PostgreSQL container:
docker run --net=host --name postgres --rm lsmr-postgres
docker run --name=postgres-$USER --rm lsmr-postgres
To start the LSMR container:
To start the LSMR container (exposing port 8001 to surf to):
docker run --rm --net=host lsmr
docker run --rm -p 0.0.0.0:8001:8000 --link=postgres-$USER:postgres lsmr
[database:lsmr]
host=localhost
host=postgres
user=lsmr
password=lsmr
database=lsmr
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment