-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.yml
60 lines (53 loc) · 2.01 KB
/
docker-compose.yml
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
version: "3.5"
services:
server:
image: ghcr.io/animo/openid4vc-playground/agent:main
deploy:
placement:
constraints:
- node.role == worker
- node.labels.type == community
labels:
traefik.enable: "true"
traefik.http.routers.openid4vc-server.rule: Host(`openid4vc.animo.id`) && (PathPrefix(`/api`) || PathPrefix(`/oid4vci`) || PathPrefix(`/siop`) || PathPrefix(`/.well-known`))
traefik.http.routers.openid4vc-server.entrypoints: web-secure
traefik.http.routers.openid4vc-server.tls.certresolver: zerossl
traefik.http.routers.openid4vc-server.service: openid4vc-server-service
traefik.http.services.openid4vc-server-service.loadbalancer.server.port: 3001
environment:
AGENT_WALLET_KEY: ${AGENT_WALLET_KEY}
DID_INDY_INDICIO_TESTNET_PUBLIC_DID_SEED: ${DID_INDY_INDICIO_TESTNET_PUBLIC_DID_SEED}
CHEQD_TESTNET_COSMOS_PAYER_SEED: ${CHEQD_TESTNET_COSMOS_PAYER_SEED}
ED25519_SEED: ${ED25519_SEED}
P256_SEED: ${P256_SEED}
AGENT_HOST: "https://openid4vc.animo.id"
networks:
- traefik
ports:
- 5001
client:
image: ghcr.io/animo/openid4vc-playground/app:main
deploy:
placement:
constraints:
- node.role == worker
- node.labels.type == community
labels:
traefik.enable: "true"
traefik.http.routers.openid4vc-app.rule: Host(`openid4vc.animo.id`) && !PathPrefix(`/oid4vci`) && !PathPrefix(`/siop`) && !PathPrefix(`/api`) && !PathPrefix(`/.well-known`)
traefik.http.routers.openid4vc-app.entrypoints: web-secure
traefik.http.routers.openid4vc-app.tls.certresolver: zerossl
traefik.http.routers.openid4vc-app.service: openid4vc-app-service
traefik.http.services.openid4vc-app-service.loadbalancer.server.port: 80
update_config:
monitor: 30s
delay: 10s
order: start-first
ports:
- 80
networks:
- traefik
networks:
traefik:
external: true
name: traefik