-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yaml
55 lines (50 loc) · 1.32 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
# Use postgres/example user/password credentials
version: '3.1'
services:
db1:
container_name: omop1
image: postgres:16-bullseye
shm_size: '4gb'
restart: always
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: password
POSTGRES_DB: omopcdm_synthetic
volumes:
- ./postgres-data1:/var/lib/postgresql/data
- ./init:/docker-entrypoint-initdb.d
- ./data/NKR_IKNL_breast_syntheticdata.csv:/mnt/data.csv
ports:
- "5432:5432"
# db2:
# container_name: omop2
# image: postgres:16-bullseye
# shm_size: '4gb'
# restart: always
# environment:
# POSTGRES_USER: postgres
# POSTGRES_PASSWORD: password
# POSTGRES_DB: omopcdm_synthetic
# volumes:
# - ./postgres-data:/var/lib/postgresql/data
# - ./init:/docker-entrypoint-initdb.d
# - ./data/alternative.csv:/mnt/data.csv
# ports:
# - "5433:5432"
pgadmin:
container_name: pgadmin4_container
image: dpage/pgadmin4
restart: always
volumes:
- ./pgadmin-data2:/var/lib/pgadmin
- ./default-server.json:/pgadmin4/servers.json
environment:
PGADMIN_DEFAULT_EMAIL: admin@admin.com
PGADMIN_DEFAULT_PASSWORD: root
ports:
- "5050:80"
#adminer:
# image: adminer
# restart: always
# ports:
# - 8080:8080