-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yaml
83 lines (78 loc) · 2.83 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
version: "3.9"
volumes:
localtimescaledb:
localgrafana:
services:
timescaledb:
image: timescale/timescaledb:latest-pg14
user: postgres
environment:
- POSTGRES_PASSWORD=ShouldB3Secre1Ss0d0Something
- POSTGRES_DB=UREGA
- TIMESCALEDB_TELEMETRY=off
- PGDATA=/var/lib/postgresql/data/pgdata
# - TS_TUNE_NUM_CPUS=4
# - TS_TUNE_MEMORY=4GB
# - TS_TUNE_MAX_CONNS=200
ports:
- "5432:5432"
volumes:
- ./initdb/01-rtcm_packages.sql:/docker-entrypoint-initdb.d/01-rtcm_packages.sql
# - ./initdb/10-gnss_observations.sql:/docker-entrypoint-initdb.d/02-gnss_observations.sql
- ./initdb/11-gps_observations.sql:/docker-entrypoint-initdb.d/11-gps_observations.sql
- ./initdb/12-glonass_observations.sql:/docker-entrypoint-initdb.d/12-glonass_observations.sql
- ./initdb/13-galileo_observations.sql:/docker-entrypoint-initdb.d/13-galileo_observations.sql
- ./initdb/14-beidou_observations.sql:/docker-entrypoint-initdb.d/14-beidou_observations.sql
- ./initdb/15-qzss_observations.sql:/docker-entrypoint-initdb.d/15-qzss_observations.sql
- ./initdb/16-sbas_observations.sql:/docker-entrypoint-initdb.d/16-sbas_observations.sql
- type: volume
source: localtimescaledb # Update this to an appropriate path
target: /var/lib/postgresql/data
logging:
driver: "local"
options:
max-file: "10"
max-size: "10m"
restart: unless-stopped
grafana:
image: grafana/grafana
# environment:
# - GF_INSTALL_PLUGINS=
environment:
- GF_SECURITY_ADMIN_USER=admin
- GF_SECURITY_ADMIN_PASSWORD=Ev3nM0reSecretYouKn0w
- GF_USERS_ALLOW_SIGN_UP=false
depends_on:
- timescaledb
ports:
- "3000:3000"
volumes:
- type: bind
source: ./initgrafana
target: /etc/grafana/provisioning
read_only: true
- type: volume
source: localgrafana # Update this to an appropriate path
target: /var/lib/grafana
logging:
driver: "local"
options:
max-file: "10"
max-size: "10m"
restart: unless-stopped
ingest:
build:
context: .
dockerfile: Dockerfile-ingest
depends_on:
- timescaledb
volumes:
- type: bind
source: ./config
target: /app/config
logging:
driver: "local"
options:
max-file: "10"
max-size: "10m"
restart: unless-stopped