-
Notifications
You must be signed in to change notification settings - Fork 136
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (34 loc) · 1000 Bytes
/
docker-compose.yml
File metadata and controls
38 lines (34 loc) · 1000 Bytes
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
services:
timescaledb:
image: timescale/timescaledb:2.25.0-pg18-oss
command: postgres -c 'max_connections=500'
restart: always
ports:
- "5432:5432"
volumes:
- nb_studio_data:/var/lib/postgresql/data
environment:
POSTGRES_DB: nb_studio_db
POSTGRES_USER: timescaledb
POSTGRES_PASSWORD: timescaledb
healthcheck:
test: [ "CMD-SHELL", "pg_isready -d 'user=timescaledb dbname=nb_studio_db'" ]
interval: 5s
timeout: 10s
retries: 5
start_period: 5s
pgadmin:
image: dpage/pgadmin4
restart: always
environment:
PGADMIN_DEFAULT_EMAIL: admin@admin.com
PGADMIN_DEFAULT_PASSWORD: admin
ports:
- "5051:80"
volumes:
- pgadmin-data:/var/lib/pgadmin
volumes:
metrics-data:
driver: local
pgadmin-data:
driver: local