-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
42 lines (41 loc) · 986 Bytes
/
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
version: "3.9"
services:
# recommendation:
# build: .
# ports:
# - "5000:5000"
# environment:
# FLASK_APP: app
# FLASK_DEBUG: 1
recommendation-db:
image: postgres
restart: unless-stopped
ports:
- "5432:5432"
environment:
POSTGRES_USER: recommendation
POSTGRES_PASSWORD: recommendation
POSTGRES_DB: recommendation
volumes:
- ./volumes/recommendation-db:/var/lib/postgresql/data
pg-admin:
image: dpage/pgadmin4:6.15
restart: always
ports:
- "5050:80"
environment:
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: secret
volumes:
- ./volumes/pg-admin-data:/var/lib/pgadmin
s3:
image: quay.io/minio/minio
ports:
- "9000:9000"
- "9001:9001"
volumes:
- ./volumes/s3-data:/data
environment:
MINIO_ROOT_USER: admin
MINIO_ROOT_PASSWORD: S3_ADMIN_PASSWD
command: server /data --console-address ":9001"