Skip to content

Commit 9a23b2c

Browse files
committed
fix: update docker compose files to use internal ports for supertokens postgres connection
1 parent 409900a commit 9a23b2c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docker-compose-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ services:
159159
ports:
160160
- "${SUPERTOKENS_PORT:-3567}:3567"
161161
environment:
162-
- POSTGRESQL_CONNECTION_URI=postgresql://${USERNAME:-postgres}:${PASSWORD:-changeme}@nixopus-db:${DB_PORT:-5432}/${DB_NAME:-postgres}
162+
- POSTGRESQL_CONNECTION_URI=postgresql://${USERNAME:-postgres}:${PASSWORD:-changeme}@nixopus-db:5432/${DB_NAME:-postgres}
163163
- POSTGRESQL_TABLE_NAMES_PREFIX=supertokens_
164164

165165
networks:

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ services:
112112
environment:
113113
# This is to avoid conflicts with the nixopus database
114114
POSTGRESQL_TABLE_NAMES_PREFIX: "supertokens_"
115-
POSTGRESQL_CONNECTION_URI: "postgresql://${USERNAME}:${PASSWORD}@nixopus-db:${DB_PORT}/${DB_NAME}"
115+
POSTGRESQL_CONNECTION_URI: "postgresql://${USERNAME}:${PASSWORD}@nixopus-db:5432/${DB_NAME}"
116116
networks:
117117
- nixopus-network
118118
restart: unless-stopped

0 commit comments

Comments
 (0)