-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
59 lines (55 loc) · 1.8 KB
/
Copy pathdocker-compose.yml
File metadata and controls
59 lines (55 loc) · 1.8 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
52
53
54
55
56
57
58
services:
grafana:
image: simpledotorg/heart360tk-grafana:${HEART360TK_VERSION}
container_name: grafana
ports:
- 3000:3000
restart: unless-stopped
environment:
- GF_DATABASE_URL=postgres://grafana:ZDI5MGE3YmYyMTRlNGNmYThkMTYyZjk3@postgres:5432/${POSTGRES_DB}
- GF_SECURITY_ADMIN_PASSWORD=your_secure_password
- GF_USERS_HOME_PAGE=philippines/d/heart360_drilldown?orgId=1
- GF_SERVER_ROOT_URL=%(protocol)s://toolkit.hearts360.org/philippines/
- GF_SERVER_SERVE_FROM_SUB_PATH=true
postgres:
image: simpledotorg/heart360tk-postgresql:${HEART360TK_VERSION}
container_name: postgres
ports:
- 5432:5432
restart: unless-stopped
volumes:
- ./.database:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready", "-d", "db_prod"]
interval: 5s
timeout: 60s
retries: 5
start_period: 80s
file-processor:
image: simpledotorg/heart360tk-fileprocessor:${HEART360TK_VERSION}
container_name: file-upload-trigger
environment:
- H360TK_DATA_LOAD_SCRIPT=/scripts/ingest_file_philippines.py
- POSTGRES_HOST=${POSTGRES_HOST}
- POSTGRES_USER=heart360tk
- POSTGRES_PASSWORD=YmE4ZTk0OGI0OTNmNGU5YmFjZDY1YTA0
- POSTGRES_DB=${POSTGRES_DB}
volumes:
- ./ingest_file_philippines.py:/scripts/ingest_file_philippines.py
- .upload:/data:rw
###
# For now, still taken from the base image
###
# TODO: have configuration (like users) dumped out of the container, to avoid losing it
# when reinstalling
filebrowser:
image: gtstef/filebrowser:stable-slim
container_name: filebrowser-quantum
restart: unless-stopped
ports:
- "8080:80"
volumes:
- .upload:/srv:rw
environment:
- FILEBROWSER_ADMIN_PASSWORD=admin
- FILEBROWSER_BASEURL=/