Skip to content

Commit

Permalink
OZ-464: Change ERPNext service port to 8080 & listen to Encounter res…
Browse files Browse the repository at this point in the history
…ource events. (#91)
  • Loading branch information
corneliouzbett authored Apr 26, 2024
1 parent 7313fb7 commit 063b8c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ ODOO_DATABASE=odoo
#
# ERPNext
#
ERPNEXT_USER=Administrator
ERPNEXT_USER=administrator
ERPNEXT_PASSWORD=password
ERPNEXT_DB_NAME=erpnext

Expand Down
6 changes: 3 additions & 3 deletions docker-compose-erpnext.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ services:
traefik.enable: "true"
traefik.http.routers.erpnext.rule: "Host(`${ERPNEXT_HOSTNAME}`)"
traefik.http.routers.erpnext.entrypoints: "websecure"
traefik.http.services.erpnext.loadbalancer.server.port: 8082
traefik.http.services.erpnext.loadbalancer.server.port: 8080

erpnext-queue-long:
<<: [ *erpnext-image, *erpnext-volumes, *ozone-networks ]
Expand Down Expand Up @@ -210,7 +210,7 @@ services:
erpnext:
condition: service_started
environment:
- ERPNEXT_SERVER_URL=http://erpnext:8082/api
- ERPNEXT_SERVER_URL=http://erpnext:8080/api
- ERPNEXT_USERNAME=${ERPNEXT_USER}
- ERPNEXT_PASSWORD=${ERPNEXT_PASSWORD}
- ERPNEXT_OPENMRS_ENABLE_PATIENT_SYNC=false
Expand All @@ -225,7 +225,7 @@ services:
- OPENMRS_DB_NAME=${OPENMRS_DB_NAME}
- OPENMRS_DB_USER=${OPENMRS_DB_USER}
- OPENMRS_DB_PASSWORD=${OPENMRS_DB_PASSWORD}
- EIP_FHIR_RESOURCES=Patient,ServiceRequest,MedicationRequest
- EIP_FHIR_RESOURCES=Patient,ServiceRequest,MedicationRequest,Encounter
- EIP_FHIR_SERVER_URL=http://openmrs:8080/openmrs/ws/fhir2/R4
- EIP_FHIR_USERNAME=${OPENMRS_USER}
- EIP_FHIR_PASSWORD=${OPENMRS_PASSWORD}
Expand Down

0 comments on commit 063b8c5

Please sign in to comment.