Skip to content

Commit

Permalink
Added ports to db in docker-compose
Browse files Browse the repository at this point in the history
* Exposed port 5432 to the db container in docker-compose to allow connections and modifications through ex. pgAdmin.
  • Loading branch information
HenrikEngen committed Sep 11, 2023
1 parent d3775aa commit 155f90e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions phoenix-development/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ services:
db:
image: postgres:alpine
env_file: .db_env
ports:
- 5432:5432
healthcheck:
test: ["CMD-SHELL", "pg_isready --username=phoenix"]
interval: 10s
Expand Down

0 comments on commit 155f90e

Please sign in to comment.