From d14d3bf51bb587df67801d400cab62e5d0ab0206 Mon Sep 17 00:00:00 2001 From: Job Doesburg Date: Wed, 27 Mar 2024 23:22:25 +0100 Subject: [PATCH] Fix env vars --- docker-compose.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 2de5cf3f..eb9f42c1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,12 +4,11 @@ services: yivi: image: ghcr.io/privacybydesign/irma:edge command: > - server -v --requestors '{"tosti": {"auth_method": "token", "key": "${YIVI_SERVER_TOKEN}"}}' --production --no-email --url ${YIVI_SERVER_URL} --port 80 + server -v --requestors '{"tosti": {"auth_method": "token", "key": "${YIVI_SERVER_TOKEN}"}}' --production --no-email --url https://yivi.tosti.science.ru.nl --port 80 restart: unless-stopped networks: - web environment: - YIVI_SERVER_URL: https://yivi.tosti.science.ru.nl YIVI_SERVER_TOKEN: ${YIVI_SERVER_TOKEN} database: @@ -22,9 +21,9 @@ services: environment: POSTGRES_USER: tosti POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} - POSTGRES_DB: ${POSTGRES_DB} + POSTGRES_DB: tosti healthcheck: - test: ["CMD", "pg_isready", "-U", "${POSTGRES_USER}"] + test: ["CMD", "pg_isready", "-U", "tosti"] interval: 10s timeout: 5s retries: 5