-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yaml
48 lines (43 loc) · 960 Bytes
/
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
version: '3.8'
services:
postgres:
image: timescale/timescaledb-ha:pg16
container_name: postgres_timescaledb
environment:
POSTGRES_USER: user
POSTGRES_PASSWORD: password
POSTGRES_DB: jessicadb
ports:
- "5432:5432"
volumes:
- postgres_data:/home/postgres/pgdata/data
- ./init/init.sql:/docker-entrypoint-initdb.d/init.sql
networks:
- jessica_network
restart: always
dbeaver:
image: dbeaver/cloudbeaver:latest
container_name: dbeaver
environment:
CB_ADMIN_NAME: cbadmin
CB_ADMIN_PASSWORD: password
ports:
- "8080:8978"
networks:
- jessica_network
restart: always
data_fetch:
build:
context: .
dockerfile: scripts/Dockerfile
container_name: data_fetch
volumes:
- ./scripts:/app
networks:
- jessica_network
depends_on:
- postgres
networks:
jessica_network:
volumes:
postgres_data: