summaryrefslogtreecommitdiff
path: root/docker/docker-compose.api.yml
diff options
context:
space:
mode:
Diffstat (limited to 'docker/docker-compose.api.yml')
-rw-r--r--docker/docker-compose.api.yml10
1 files changed, 2 insertions, 8 deletions
diff --git a/docker/docker-compose.api.yml b/docker/docker-compose.api.yml
index 5c7f6d8..51e5c79 100644
--- a/docker/docker-compose.api.yml
+++ b/docker/docker-compose.api.yml
@@ -31,15 +31,9 @@ services:
# database must be working (healthy) and all the api schema must be loaded.
# It is db-init's job to load the api schema, thus this container depends
# on both postgres and db-init.
- build: ../build/postgrest
+ build: ${CRIMSON_ROOT}/build/postgrest
restart: unless-stopped
- environment:
- - API_SECRET
- - API_ROLE
- - API_SCHEMA
- - POSTGRES_DB
- - POSTGRES_USER
- - POSTGRES_PASSWORD
+ env_file: DOCKER_ENV_FILES
healthcheck:
test: curl -I "http://localhost:3000/"
interval: 10s