Skip to content

Commit c44c383

Browse files
committed
VARNISH_*_BACKEND_PORT env params
1 parent bebd545 commit c44c383

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

docker-compose.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ secrets:
1313
# file: ./secrets/orcid/client_id.txt
1414
# orcid_client_secret:
1515
# file: ./secrets/orcid/client_secret.txt
16+
# credentials:
17+
# file: ./secrets/credentials.trig
1618
volumes:
1719
varnish_frontend_cache:
1820
services:
@@ -87,6 +89,7 @@ services:
8789
# - google_client_secret
8890
# - orcid_client_id
8991
# - orcid_client_secret
92+
# - credentials
9093
volumes:
9194
- /var/linkeddatahub/oidc
9295
- ./ssl/server:/var/linkeddatahub/ssl/server:ro
@@ -283,7 +286,7 @@ configs:
283286
284287
backend default {
285288
.host = "${VARNISH_FRONTEND_BACKEND_HOST:-linkeddatahub}";
286-
.port = "7070";
289+
.port = "${VARNISH_FRONTEND_BACKEND_PORT:-7070}";
287290
.first_byte_timeout = 60s;
288291
}
289292
@@ -398,7 +401,7 @@ configs:
398401
399402
backend default {
400403
.host = "${VARNISH_ADMIN_BACKEND_HOST:-fuseki-admin}";
401-
.port = "3030";
404+
.port = "${VARNISH_ADMIN_BACKEND_PORT:-3030}";
402405
.first_byte_timeout = 60s;
403406
}
404407
@@ -464,7 +467,7 @@ configs:
464467
465468
backend default {
466469
.host = "${VARNISH_END_USER_BACKEND_HOST:-fuseki-end-user}";
467-
.port = "3030";
470+
.port = "${VARNISH_END_USER_BACKEND_PORT:-3030}";
468471
.first_byte_timeout = 60s;
469472
}
470473

0 commit comments

Comments
 (0)