Skip to content

Commit a5e828f

Browse files
authored
Finish release/1.4.1
Release/1.4.1
2 parents 89ce3b9 + 7aaa0d7 commit a5e828f

File tree

4 files changed

+46
-28
lines changed

4 files changed

+46
-28
lines changed

.env.example

Lines changed: 28 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,38 @@ DB_NAME=IMIS
77
ACCEPT_EULA= <y if you accept MS EULA >
88

99
# urls
10-
NEW_OPENIMIS_HOST=demo.openimis.org # url of openimis
11-
GATEWAY_PORT=80 # http port for openimis
12-
GATEWAY_PORT_S=443 # https port for openimis
10+
# url of openimis
11+
NEW_OPENIMIS_HOST=demo.openimis.org
12+
# http port for openimis
13+
GATEWAY_PORT=80
14+
# https port for openimis
15+
GATEWAY_PORT_S=443
1316

1417
# github branches to use
15-
DB_BRANCH=main # branch to get the code of database
16-
GW_BRANCH=main # branch to get the code of gateway
17-
BE_BRANCH=main # branch to get the code of BE assembly
18-
FE_BRANCH=main # branch to get the code of FE assembly
19-
RESTAPI_BRANCH=main # branch to get the code of the restapi
18+
# Database
19+
DB_BRANCH=main
20+
#Gate way
21+
GW_BRANCH=main
22+
# BE assembly
23+
BE_BRANCH=main
24+
#FE assembly
25+
FE_BRANCH=main
26+
# REST API
27+
RESTAPI_BRANCH=main
28+
# branch to get the code of the restapi
2029

2130
# build flavours
22-
RESTAPI_BUILD_FLAVOR=Release # rest API flavours
31+
# rest API flavours
32+
RESTAPI_BUILD_FLAVOR=Release
2333

2434
# docker-compose parameters
25-
PROJECT_NAME=demo # docker compose project name
26-
IP_SUB=20 # to use in case there is multiple openimis, the container have fixed IP address to avoid issue when a container is recreated: then it could change ip and the gateway woin't find it anymore (limitation of free nginx)
35+
# docker compose project name
36+
PROJECT_NAME=demo
37+
# to use in case there is multiple openimis, the container have fixed IP address to avoid issue when a container is recreated: then it could change ip and the gateway woin't find it anymore (limitation of free nginx)
38+
IP_SUB=20
2739

28-
#OPENIMIS_BE_CONF_JSON= one-liner json config for the BE (to overright the openimis.json from the BE assembly)
29-
#OPENIMIS_FE_CONF_JSON= one-liner json config for the FE (to overright the openimis.json from the FE assembly)
40+
#one-liner json config for the BE (to overright the openimis.json from the BE assembly)
41+
#OPENIMIS_BE_CONF_JSON=
42+
43+
#one-liner json config for the FE (to overright the openimis.json from the FE assembly)
44+
#OPENIMIS_FE_CONF_JSON=

conf/restapi/appsettings.Production.json

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"ConnectionStrings": {
3-
"IMISDatabase": "server=db;Database=IMIS;User ID=IMISuser;Password=IMISuser@1234"
3+
"IMISDatabase": "server=db;Database=IMIS;User ID=IMISuser;Password=IMISuser@1234"
44
},
55
"Log4NetCore": {
66
"PropertyOverrides": [

conf/restapi/appsettings.json

100644100755
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,20 @@
2121
},
2222
"AppPrefixDir": "/rest",
2323
"AppSettings": {
24-
"FromPhone_Renewal": "\\log\\FromPhone\\Renewal\\",
25-
"FromPhone_Renewal_Rejected": "\\log\\FromPhone\\Renewal\\Rejected\\",
26-
"FromPhone_Claim": "\\log\\FromPhone\\Claim\\",
27-
"FromPhone_Claim_Rejected": "\\log\\FromPhone\\Claim\\Rejected\\",
28-
"FromPhone_Feedback": "\\log\\FromPhone\\Feedback\\",
29-
"FromPhone_Feedback_Rejected": "\\log\\FromPhone\\Feedback\\Rejected\\",
30-
"Extracts_Phone": "\\log\\Extracts\\Phone\\",
31-
"Enrollment_Phone": "\\log\\FromPhone\\Enrollment\\",
32-
"Extracts_Offline": "\\log\\Extracts\\Offline\\",
33-
"JsonDebugFolder": "\\log\\FromPhone\\Enrollment\\Debug\\",
34-
"SmsStrings": "\\log\\Escape\\Sms\\Strings\\",
35-
"SmsStringsSecondary": "\\log\\Escape\\Sms\\StringsSecondaryLanguage\\",
36-
"SubmittedFolder": "\\Photos\\Submitted\\",
37-
"UpdatedFolder": "\\Photos\\"
24+
"FromPhone_Renewal": "/log/FromPhone/Renewal/",
25+
"FromPhone_Renewal_Rejected": "/log/FromPhone/Renewal/Rejected/",
26+
"FromPhone_Claim": "/log/FromPhone/Claim/",
27+
"FromPhone_Claim_Rejected": "/log/FromPhone/Claim/Rejected/",
28+
"FromPhone_Feedback": "/log/FromPhone/Feedback/",
29+
"FromPhone_Feedback_Rejected": "/log/FromPhone/Feedback/Rejected/",
30+
"Extracts_Phone": "/log/Extracts/Phone/",
31+
"Enrollment_Phone": "/log/FromPhone/Enrollment/",
32+
"Extracts_Offline": "/log/Extracts/Offline/",
33+
"JsonDebugFolder": "/log/FromPhone/Enrollment/Debug/",
34+
"SmsStrings": "/log/Escape/Sms/Strings/",
35+
"SmsStringsSecondary": "/log/Escape/Sms/StringsSecondaryLanguage/",
36+
"SubmittedFolder": "/app/photos/Submitted/",
37+
"UpdatedFolder": "/app/photos/"
3838
},
3939
"SmsGateWay": null,
4040
"Defaults": {

docker-compose.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ services:
4949
- SITE_ROOT=api
5050
- SITE_URL=${NEW_OPENIMIS_HOST}
5151
- CELERY_BROKER_URL=amqp://rabbitmq
52+
- PHOTO_ROOT_PATH=images/insurees
5253
depends_on:
5354
db:
5455
condition: service_healthy
@@ -116,6 +117,8 @@ services:
116117
context: https://github.com/openimis/rest_api_c-sharp.git#${RESTAPI_BRANCH:-develop}
117118
args:
118119
BUILD-FLAVOUR: ${RESTAPI_BUILD_FLAVOUR:-Release}
120+
environment:
121+
- ASPNETCORE_URLS=${ASPNETCORE_URLS:-http://+:80}
119122
volumes:
120123
- ./conf/restapi:/app/config
121124
- logs:/app/log

0 commit comments

Comments
 (0)