generated from ghas-training-material/mona-gallery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
57 lines (56 loc) · 1.29 KB
/
docker-compose.yaml
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
services:
auth:
build:
dockerfile: ./docker/auth.Dockerfile
ports:
- "9998:9998"
auth-ext:
build:
dockerfile: ./docker/auth-ext.Dockerfile
environment:
BACKEND_HOST: auth-ext
OIDC_CLIENT_ID: web
OIDC_CLIENT_SECRET: secret
OIDC_ISSUER: http://auth:9998/
ports:
- "5000:5000"
frontend:
build:
dockerfile: ./docker/frontend.Dockerfile
environment:
OIDC_CLIENT_ID: web
OIDC_ISSUER: http://localhost:9998/
OIDC_RESPONSE_TYPE: code
OIDC_SCOPE: openid profile
ports:
- "5173:80"
gallery:
build:
dockerfile: ./docker/gallery.Dockerfile
ports:
- "8081:8081"
minio:
image: minio/minio:RELEASE.2023-10-14T05-17-22Z
command: server --address :9000 --console-address :9001 --compat /data
environment:
MINIO_ROOT_USER: minio
MINIO_ROOT_PASSWORD: mona_value_abc124
ports:
- "9000:9000"
- "9001:9001"
volumes:
- minio_data:/data
storage:
build:
dockerfile: ./docker/storage.Dockerfile
depends_on:
minio:
condition: service_started
environment:
MINIO_URL: http://minio:9000
MINIO_USERNAME: minio
MINIO_PASSWORD: mona_value_abc124
ports:
- "8082:8082"
volumes:
minio_data: {}