diff options
-rw-r--r-- | docker-compose/README.md | 6 | ||||
-rw-r--r-- | docker-compose/docker-compose.yml | 1 |
2 files changed, 5 insertions, 2 deletions
diff --git a/docker-compose/README.md b/docker-compose/README.md index d23f033495..619b0d4a8d 100644 --- a/docker-compose/README.md +++ b/docker-compose/README.md @@ -1,3 +1,7 @@ +# Docker Compose + +To run the application locally using `docker-compose`, execute following command from this `docker-compose` folder: + ```bash -VERSION=0.0.1-SNAPSHOT DB_HOST=localhost DB_USERNAME=cps DB_PASSWORD=cps docker-compose up +VERSION=0.0.1-SNAPSHOT DB_HOST=dbpostgresql DB_USERNAME=cps DB_PASSWORD=cps docker-compose up ```
\ No newline at end of file diff --git a/docker-compose/docker-compose.yml b/docker-compose/docker-compose.yml index da3b86dc47..b1b3bf9255 100644 --- a/docker-compose/docker-compose.yml +++ b/docker-compose/docker-compose.yml @@ -11,7 +11,6 @@ services: DB_USERNAME: ${DB_USERNAME} DB_PASSWORD: ${DB_PASSWORD} restart: unless-stopped - network_mode: "host" depends_on: - dbpostgresql |