-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
59 lines (52 loc) · 2.02 KB
/
Copy pathdocker-compose.yml
File metadata and controls
59 lines (52 loc) · 2.02 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
version: "3.5"
services:
server:
image: ghcr.io/animo/openid4vc-playground-funke/agent:main
deploy:
placement:
constraints:
- node.role == worker
- node.labels.type == community
labels:
traefik.enable: "true"
traefik.http.routers.openid4vc-server.rule: Host(`funke.animo.id`) && (PathPrefix(`/api`) || PathPrefix(`/oid4vci`) || PathPrefix(`/oid4vp`) || PathPrefix(`/provider`) || PathPrefix(`/.well-known`) || PathPrefix(`/crl`))
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}
P256_SEED: ${P256_SEED}
X509_CERTIFICATE: ${X509_CERTIFICATE}
AGENT_HOST: "https://funke.animo.id"
ANTHROPIC_API_KEY: ${ANTHROPIC_API_KEY}
networks:
- traefik
ports:
- 5001
client:
image: ghcr.io/animo/openid4vc-playground-funke/app:main
deploy:
placement:
constraints:
- node.role == worker
- node.labels.type == community
labels:
traefik.enable: "true"
traefik.http.routers.openid4vc-app.rule: Host(`funke.animo.id`) && !PathPrefix(`/oid4vci`) && !PathPrefix(`/oid4vp`) && !PathPrefix(`/api`) && !PathPrefix(`/provider`) && !PathPrefix(`/payments-credential-metadata`) && !!PathPrefix(`/crl`)
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