-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.override.yml
53 lines (53 loc) · 1.67 KB
/
docker-compose.override.yml
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
---
version: "3.9"
services:
mainnetwork:
image: alpine:3.14
command: ["tail", "-f", "/dev/null"]
ports:
- 3000:3000
- 8000:8000
- 5050:5050
# backend debuger port
- 8888:8888
frontend:
network_mode: service:mainnetwork
volumes:
- ${STORAGE_PATH}/images:/app/public/images:delegated
- ${STORAGE_PATH}/datapoints:/app/public/datapoints:delegated
- ${STORAGE_PATH}/apk:/app/public/apk:delegated
- ${STORAGE_PATH}/master_data:/app/public/master_data:delegated
- ${STORAGE_PATH}/cronjob_results:/app/public/cronjob_results:delegated
worker:
volumes:
- ../akvo-config/k8s-secrets/test/rtmis:/credentials/:ro
- ${STORAGE_PATH}:/app/storage:delegated
environment:
- GOOGLE_APPLICATION_CREDENTIALS=/credentials/rtmis-service-account.json
- MAILJET_APIKEY=$MAILJET_APIKEY
- MAILJET_SECRET=$MAILJET_SECRET
- WEBDOMAIN=http://localhost:3000
backend:
volumes:
- ../akvo-config/k8s-secrets/test/rtmis:/credentials/:ro
- ${STORAGE_PATH}:/app/storage:delegated
environment:
- GOOGLE_APPLICATION_CREDENTIALS=/credentials/rtmis-service-account.json
- MAILJET_APIKEY=$MAILJET_APIKEY
- MAILJET_SECRET=$MAILJET_SECRET
- WEBDOMAIN=$WEBDOMAIN
network_mode: service:mainnetwork
pgadmin:
image: dpage/pgadmin4:5.7
environment:
- PGADMIN_LISTEN_PORT=5050
- PGADMIN_DEFAULT_EMAIL=dev@akvo.org
- PGADMIN_DEFAULT_PASSWORD=password
volumes:
- ./pgadmin4/servers.json:/pgadmin4/servers.json
- pg-admin-data:/var/lib/pgadmin
depends_on:
- db
network_mode: service:mainnetwork
volumes:
pg-admin-data: