-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
60 lines (56 loc) · 1.57 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.8'
services:
c4gt-bff:
build:
context: .
dockerfile: Dockerfile
container_name: c4gt-bff
ports:
- "3001:3001"
environment:
SCHEMA_BASE_URL: https://example.com/schema-service
CREDENTIAL_BASE_URL: https://example.com/credential-service
C4GT_DID: did:example:123456789abcdefghi
DEFAULT_CERTIFICATE_LIFETIME: 31536000
IDENTITY_BASE_URL: url
VERIFICATION_BASE_URL: https://example.com/verification-service
MINIO_USERNAME: your-minio-username
MINIO_PASSWORD: your-minio-password
MINIO_BUCKETNAME: your-bucket-name
MINIO_PORT: 9000
MINIO_ENDPOINT: minioadminpassword
MINIO_SECRET_KEY: your-minio-secret-key
MINIO_ACCESS_KEY: minioadmin
MINIO_USE_SSL: "true"
C4GT_BFF_POSTGRES_BASE_URL: postgres://postgres:postgres@postgres:5432/c4gt-bff
depends_on:
- postgres
- minio
postgres:
image: postgres:14
container_name: postgres
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: c4gt-bff
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
minio:
image: minio/minio:latest
container_name: minio
environment:
MINIO_ROOT_USER: minioadmin
MINIO_ROOT_PASSWORD: minioadminpassword
ports:
- "9000:9000" # MinIO web access
- "9001:9001" # MinIO console access
command: server /data --console-address ":9001"
volumes:
- minio_data:/data
volumes:
postgres_data:
driver: local
minio_data:
driver: local