Skip to content
This repository was archived by the owner on Jan 8, 2022. It is now read-only.

Commit c09b90b

Browse files
committed
Configure suri docker-compose service to use postgres
1 parent 605c9b9 commit c09b90b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docker-compose.yml

+8
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ services:
1818
image: suldlss/suri-rails:latest
1919
ports:
2020
- 3002:3000
21+
depends_on:
22+
- db
23+
environment:
24+
DATABASE_NAME: suri
25+
DATABASE_USERNAME: postgres
26+
DATABASE_PASSWORD: sekret
27+
DATABASE_HOSTNAME: db
28+
DATABASE_PORT: 5432
2129

2230
db:
2331
image: postgres:11

0 commit comments

Comments
 (0)