forked from undp/carbon-registry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-image.yml
125 lines (125 loc) · 3.59 KB
/
docker-compose-image.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
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
version: "3.3"
volumes:
data:
driver: local
filestore:
driver: local
services:
db:
container_name: db
image: postgres
restart: always
ports:
- "5432:5432"
environment:
POSTGRES_PASSWORD: "<ANY PASSWORD>"
POSTGRES_USER: root
PSQL_USERNAME: root
# POSTGRES_HOST_AUTH_METHOD: trust
PGDATA: /data/postgres
volumes:
- ./init.sql:/docker-entrypoint-initdb.d/init.sql
- data:/data/postgres
national:
image: 302213478610.dkr.ecr.us-east-1.amazonaws.com/carbon-services:CARBON-329-U
# build:
# context: .
# dockerfile: ./backend/services/Dockerfile
ports:
- "3000:3000"
depends_on:
- db
environment:
DB_HOST: db
DB_USER: root
DB_PASSWORD: "<ANY PASSWORD>"
RUN_MODULE: national-api
rootEmail: <ROOT EMAIL>
systemCountryCode: "NG"
systemCountryName: "CountryX"
systemContinentName: "CountryX"
name: "Antactic Region"
logoBase64: "sss"
IS_EMAIL_DISABLED: "true"
Minister: ''
Department : ''
DISABLE_LOW_PRIORITY_EMAIL: "true"
EMAILPREFIX: ""
LOCATION_SERVICE: OPENSTREET
ASYNC_OPERATIONS_TYPE: Database
HOST: "http://localhost:3030"
DOMAIN_MAP: "true"
EXPIRES_IN: "7200"
BACKEND_HOST: "http://192.168.1.16:3000"
CONTACT_EMAIL: [email protected]
MINISTER_NAME_AND_DESIGNATION : "\nHonorable Minister X\nMinister\nMinistry of Environment, Forestry & Tourism"
volumes:
- filestore:/app/backend/services/public
- ./users.csv:/app/backend/services/users.csv
- ./organisations.csv:/app/backend/services/organisations.csv
stats:
# build:
# context: .
# dockerfile: ./backend/services/Dockerfile
image: 302213478610.dkr.ecr.us-east-1.amazonaws.com/carbon-services:CARBON-329-U
ports:
- "3100:3100"
depends_on:
- db
- national
environment:
DB_HOST: db
DB_USER: root
DB_PASSWORD: "<ANY PASSWORD>"
RUN_PORT: 3100
RUN_MODULE: analytics-api
DOMAIN_MAP: "true"
replicator:
image: 302213478610.dkr.ecr.us-east-1.amazonaws.com/carbon-services:CARBON-329-U
# build:
# context: .
# dockerfile: ./backend/services/Dockerfile
depends_on:
- db
- national
environment:
DB_HOST: db
DB_USER: root
DB_PASSWORD: "<ANY PASSWORD>"
# ,data-importer
RUN_MODULE: replicator,async-operations-handler
LOCATION_SERVICE: OPENSTREET
SMTP_ENDPOINT: email-smtp.us-east-1.amazonaws.com
SMTP_USERNAME: AKIAUMXKTXDJEQ555F4J
SMTP_PASSWORD: ""
IS_EMAIL_DISABLED: "true"
DISABLE_LOW_PRIORITY_EMAIL: "true"
EMAILPREFIX: ""
ASYNC_OPERATIONS_TYPE: Database
ITMO_API_KEY: ""
ITMO_EMAIL: ""
ITMO_PASSWORD: ""
MRV_ENDPOINT: 'http://192.168.123.20:9000'
SYNC_ENABLE: false
MRV_API_TOKEN: ''
BACKEND_HOST: "http://192.168.1.16:3000"
volumes:
- filestore:/app/backend/services/public
web:
image: 302213478610.dkr.ecr.us-east-1.amazonaws.com/carbon-web:CARBON-329-U
# build:
# context: .
# dockerfile: ./web/Dockerfile
# args:
# PORT: 3030
# REACT_APP_BACKEND: http://localhost:3000
# REACT_APP_GOVERNMENT_MINISTRY: "Ministry Of Environment",
# REACT_APP_STAT_URL: http://localhost:3100
# REACT_APP_COUNTRY_NAME: "CountryX"
# REACT_APP_COUNTRY_FLAG_URL: "https://carbon-common-dev.s3.amazonaws.com/flag.png"
# REACT_APP_COUNTRY_CODE: "NG"
ports:
- "3030:3030"
depends_on:
- db
- national