-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
62 lines (58 loc) · 1.51 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
61
62
---
version: '3'
services:
fast-anoncreds:
build:
context: ./
dockerfile: ./Dockerfile
image: fast-anoncreds
env_file:
- .env
ports:
- "8000:8000"
agent:
build:
context: ../aries-cloudagent-python
dockerfile: docker/Dockerfile
container_name: agent
restart: unless-stopped
entrypoint: ["aca-py", "start"]
command: [
'--no-ledger',
'--endpoint', 'http://agent:8021',
'--admin', '0.0.0.0', '8020',
'--outbound-transport', 'http',
'--inbound-transport', 'http', '0.0.0.0', '8021'
]
postgres:
image: postgres:16-alpine
restart: unless-stopped
volumes:
- postgres_data:/var/lib/postgresql/data
ports:
- 5432:5432
environment:
POSTGRES_DB: ${POSTGRES_DB}
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASS}
traefik:
image: traefik:v2.10
container_name: traefik
restart: always
security_opt:
- no-new-privileges:true
command:
- --providers.docker=true
- --providers.docker.exposedbydefault=false
- --entrypoints.websecure.address=:443
- --certificatesresolvers.myresolver.acme.tlschallenge=true
- --certificatesresolvers.myresolver.acme.email=${LETSENCRYPT_EMAIL}
- --certificatesresolvers.myresolver.acme.storage=/letsencrypt/acme.json
ports:
- 443:443
volumes:
- letsencrypt:/letsencrypt
- /var/run/docker.sock:/var/run/docker.sock:ro
volumes:
letsencrypt:
postgres_data: