-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
52 lines (46 loc) · 1.27 KB
/
docker-compose.yml
File metadata and controls
52 lines (46 loc) · 1.27 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
name: reorg
services:
# PostgreSQL metadata storage
db:
image: postgres:17
container_name: db
ports:
- 5432:5432
volumes:
- ./internal/database/pg-data:/var/lib/postgresql/data
- ./internal/database/db-init:/docker-entrypoint-initdb.d
environment:
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: ${POSTGRES_DB}
# MinIO object storage
obj-store:
image: quay.io/minio/minio:latest
# Add start-up script to config minio using mc?
container_name: obj-store
ports:
- 9000:9000
- 9001:9001
volumes:
- ./internal/obj-store/minio-data:/data
environment:
MINIO_ROOT_USER: ${MINIO_ROOT_USER}
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD}
command: server /data --console-address ":9001"
# PGAdmin
pgadmin:
image: dpage/pgadmin4
container_name: pgadmin
environment:
PGADMIN_DEFAULT_EMAIL: ${PGADMIN_DEFAULT_EMAIL}
PGADMIN_DEFAULT_PASSWORD: ${PGADMIN_DEFAULT_PASSWORD}
ports:
- 1234:80
volumes:
- ./internal/pgadmin/pgadmin-data:/var/lib/pgadmin
depends_on:
- db
# Application
# reorg-app:
# image: [should the dockerfile be on a registry or on disk?]
# container_name: reorg-app