We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f98a54 commit 7d30a26Copy full SHA for 7d30a26
docker-compose.yml
@@ -4,9 +4,17 @@ services:
4
build:
5
context: .
6
dockerfile: Dockerfile.production
7
- command: make test
+# environment:
8
+# DATABASE_NAME: ${DATABASE_NAME}
9
+# DATABASE_USERNAME: ${DATABASE_USERNAME}
10
+# DATABASE_PASSWORD: ${DATABASE_PASSWORD}
11
+# DATABASE_HOST: ${DATABASE_HOST}
12
+# DATABASE_PORT: ${DATABASE_PORT}
13
+ command: >
14
+ sh -c "make prepare-env && make test"
15
depends_on:
- - db
16
+ db:
17
+ condition: service_healthy
18
db:
19
image: postgres:latest
20
restart: unless-stopped
0 commit comments