Skip to content

Commit

Permalink
Fix env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
JobDoesburg committed Mar 27, 2024
1 parent 088b106 commit d14d3bf
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit d14d3bf

Please sign in to comment.