-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose-image.yml
126 lines (126 loc) · 3.54 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
126
version: "3.3"
volumes:
data:
driver: local
filestore:
driver: local
services:
dbmrv:
container_name: dbmrv
image: postgres
restart: always
ports:
- "5433:5433"
environment:
POSTGRES_PASSWORD: "<ANY PASSWORD>"
POSTGRES_USER: root
PGPORT: 5433
PSQL_USERNAME: root
PGDATA: /data/postgres
volumes:
- ./init.sql:/docker-entrypoint-initdb.d/init.sql
- data:/data/postgres
migration:
image: 302213478610.dkr.ecr.us-east-1.amazonaws.com/transparency-services:CARBON-329
depends_on:
- dbmrv
- national
command: ['yarn', 'migration:run']
environment:
DB_HOST: dbmrv
DB_PORT: "5433"
DB_USER: root
DB_PASSWORD: "<ANY PASSWORD>"
DB_NAME: "carbondev"
national:
image: 302213478610.dkr.ecr.us-east-1.amazonaws.com/transparency-services:CARBON-329
ports:
- "9000:3000"
depends_on:
- dbmrv
environment:
DB_HOST: dbmrv
DB_USER: root
DB_PASSWORD: "<ANY PASSWORD>"
DB_PORT: "5433"
DB_NAME: "carbondev"
RUN_MODULE: national-api
rootEmail: <ROOT EMAIL>
systemCountryCode: "NG"
name: "Antactic Region"
logoBase64: "sss"
IS_EMAIL_DISABLED: "true"
LOCATION_SERVICE: OPENSTREET
ASYNC_OPERATIONS_TYPE: Database
HOST: "http://localhost:80"
DOMAIN_MAP: "true"
EXPIRES_IN: "7200"
NODE_ENV: 'dev'
FILE_SERVICE: local
DISABLE_LOW_PRIORITY_EMAIL: "true"
SYSTEM_TYPE: CARBON_TRANSPARENCY_SYSTEM
SYSTEM_SYNC: true
SYNC_ENABLE: true
SYNC_ENDPOINT: 'http://192.168.1.29:3000'
SYNC_API_TOKEN: ''
BACKEND_HOST: http://localhost:9000
volumes:
- filestore:/app/backend/services/public
- ./users.csv:/app/backend/services/users.csv
- ./organisations.csv:/app/backend/services/organisations.csv
stats:
image: 302213478610.dkr.ecr.us-east-1.amazonaws.com/transparency-services:CARBON-329
ports:
- "9100:3100"
depends_on:
- dbmrv
- national
environment:
DB_HOST: dbmrv
DB_USER: root
DB_PASSWORD: "<ANY PASSWORD>"
RUN_PORT: 3100
RUN_MODULE: analytics-api
DOMAIN_MAP: "true"
DB_PORT: "5433"
DB_NAME: "carbondev"
NODE_ENV: 'dev'
FILE_SERVICE: local
async-operations-handler:
image: 302213478610.dkr.ecr.us-east-1.amazonaws.com/transparency-services:CARBON-329
depends_on:
- dbmrv
- national
environment:
DB_HOST: dbmrv
DB_USER: root
DB_PASSWORD: "<ANY PASSWORD>"
RUN_MODULE: async-operations-handler,data-importer
LOCATION_SERVICE: https://mrv-common-dev.s3.amazonaws.com/flag.png
CERTIFIER_IMAGE : "https://mrv-common-dev.s3.amazonaws.com/flag.png"
SMTP_ENDPOINT: email-smtp.us-east-1.amazonaws.com
SMTP_PASSWORD: ""
SMTP_USERNAME: AKIAUMXKTXDJPDYDJ76J
IS_EMAIL_DISABLED: "true"
ASYNC_OPERATIONS_TYPE: Database
ITMO_API_KEY: ""
ITMO_EMAIL: ""
ITMO_PASSWORD: ""
DB_PORT: "5433"
DB_NAME: "carbondev"
REGISTRY_SYNC_ENABLE: true
NODE_ENV: 'dev'
SYNC_ENDPOINT: 'http://192.168.1.29:3000'
SYNC_API_TOKEN: ''
FILE_SERVICE: local
DISABLE_LOW_PRIORITY_EMAIL: "true"
SYSTEM_TYPE: CARBON_TRANSPARENCY_SYSTEM
SYNC_ENABLE: true
BACKEND_HOST: http://localhost:9000
web:
image: 302213478610.dkr.ecr.us-east-1.amazonaws.com/transparency-web:CARBON-329
ports:
- "9030:3030"
depends_on:
- dbmrv
- national