-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathdocker-compose.domain.yml
More file actions
41 lines (39 loc) · 1.68 KB
/
Copy pathdocker-compose.domain.yml
File metadata and controls
41 lines (39 loc) · 1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Docker Compose overlay for custom domain configuration.
#
# Replaces all localhost references with a configurable domain name,
# enabling access from mobile devices on the local network.
#
# Usage:
# make up DOMAIN=myhost.local
#
# Or directly:
# DOMAIN=myhost.local docker compose \
# -f docker-compose.test.yml \
# -f docker-compose.domain.yml \
# up -d
#
# Prerequisites:
# - The domain must resolve to the host machine's IP (e.g. via
# /etc/hosts on the mobile device, mDNS, or local DNS)
# - Ports must be accessible on the network interface (not just loopback)
services:
wallet-frontend:
environment:
- WALLET_BACKEND_URL=http://${DOMAIN}:8080
- WALLET_ENGINE_URL=http://${DOMAIN}:8082
- WEBAUTHN_RPID=${DOMAIN}
# /id/default/cb, not the bare origin - see docker-compose.test.yml's
# own OPENID4VCI_REDIRECT_URI comment. NOTE: unlike TUNNELS=yes (see
# render-helm-config's --hostname), DOMAIN= has no matching mechanism that
# registers this dynamic host against e2e-test-client's redirect_uri
# list in vc-config.yaml - authorization_code-flow credentials (any
# auth_provider: oidc scope) will still 401 with invalid_client under
# DOMAIN= until that's added too.
- OPENID4VCI_REDIRECT_URI=http://${DOMAIN}:3000/id/default/cb
- STATIC_PUBLIC_URL=http://${DOMAIN}:3000
- VCT_REGISTRY_URL=http://${DOMAIN}:8080/registry/type-metadata
wallet-backend:
environment:
- WALLET_SERVER_RP_ID=${DOMAIN}
- WALLET_SERVER_RP_ORIGIN=http://${DOMAIN}:3000
- WALLET_SERVER_RP_ORIGINS=http://${DOMAIN}:3000,android:apk-key-hash:${APK_KEY_HASH:-xAfybcO0yPlUA_Gko2tH6oIRb9Y-qa3uVtm0m_qW07Q}