Skip to content

Commit

Permalink
fix: make test containers accessible from outside
Browse files Browse the repository at this point in the history
  • Loading branch information
ewan-escience committed Jan 13, 2022
1 parent a2e07e9 commit aa97e4b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions backend-postgrest/auth-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ services:
container_name: database-test
build: ../database
image: rsd/database-test:0.0.2
expose:
- 5432
ports:
# enable connection from outside
- "5432:5432"
environment:
POSTGRES_DB: "rsd-db"
POSTGRES_USER: "rsd"
Expand All @@ -23,8 +24,9 @@ services:
container_name: backend-test
build: .
image: rsd/backend-postgrest-test:0.0.2
expose:
- 3500
ports:
# enable connection from outside
- "3500:3500"
environment:
PGRST_DB_URI: "postgres://authenticator:simplepassword@database:5432/rsd-db"
PGRST_DB_ANON_ROLE: "web_anon"
Expand Down

0 comments on commit aa97e4b

Please sign in to comment.