Skip to content

Commit

Permalink
fix docker postgres dev mode with another port
Browse files Browse the repository at this point in the history
  • Loading branch information
submarcos committed Nov 16, 2023
1 parent 1d744e9 commit f208fbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env-dev.dist
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ENV=dev
SERVER_NAME=geotrek.localhost
POSTGRES_LOCAL_PORT=5432
POSTGRES_HOST=postgres
POSTGRES_PORT=5432
POSTGRES_USER=geotrek
POSTGRES_PASSWORD=geotrek
POSTGRES_DB=geotrekdb
Expand Down
2 changes: 1 addition & 1 deletion docker-compose-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
env_file:
- .env
ports:
- "${POSTGRES_PORT:-5432}:5432"
- "${POSTGRES_LOCAL_PORT:-5432}:5432"
volumes:
- postgres:/var/lib/postgresql/data

Expand Down

0 comments on commit f208fbb

Please sign in to comment.