-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
52 lines (50 loc) · 1.43 KB
/
docker-compose.yml
File metadata and controls
52 lines (50 loc) · 1.43 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
---
services:
cli:
build: cli/
container_name: webvh-tutorial-cli
tty: true
environment:
AGENT_ENDPOINT: http://agent:8020
ISSUER_ID: did:key:z6MkgKA7yrw5kYSiDuQFcye4bMaJpcfHFry3Bx45pdWh3s8i
depends_on:
agent:
condition: service_healthy
volumes:
- ./outputs/:/cli/outputs
- ./credentials/:/cli/credentials
agent:
image: ghcr.io/openwallet-foundation/acapy-agent:py3.12-nightly
container_name: webvh-tutorial-agent
entrypoint: ["aca-py", "start"]
command: [
'--no-ledger',
'--no-transport',
'--auto-provision',
'--admin', '0.0.0.0', '8020',
'--admin-insecure',
'--wallet-key', 'askar',
'--wallet-name', 'askar',
'--seed', '00000000000000000000000000000000',
]
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8020/status/ready"]
interval: 1s
timeout: 1s
retries: 5
labels:
- traefik.enable=true
- traefik.http.routers.endorser.rule=Host(`agent.webvh-tutorial.localhost`)
- traefik.http.routers.endorser.entrypoints=web
- traefik.http.services.endorser.loadbalancer.server.port=8020
traefik:
image: traefik:v3.1
command:
- --api.insecure=true
- --providers.docker=true
- --providers.docker.exposedbydefault=false
- --entryPoints.web.address=:80
ports:
- 80:80
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro