Skip to content

Commit

Permalink
Add person images and complex obs to backup
Browse files Browse the repository at this point in the history
  • Loading branch information
enyachoke committed Nov 19, 2024
1 parent d457171 commit cc6ecb9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ OPENMRS_PROPERTIES_PATH=
OPENMRS_CORE_PATH=
OPENMRS_MODULES_PATH=
OPENMRS_CONFIG_PATH=
OPENMRS_PERSON_IMAGES_PATH=
OPENMRS_COMPLEX_OBS_PATH=
SPA_PATH=
OZONE_CONFIG_PATH=
OPENMRS_OWAS_PATH=
Expand Down
6 changes: 5 additions & 1 deletion docker-compose-openmrs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ services:
traefik.http.middlewares.openmrs-spa-redirectregex.redirectregex.replacement: https://${O3_HOSTNAME}/openmrs/spa/home
#=====================================================backup================================================================
restic-compose-backup.volumes: true
restic-compose-backup.volumes.include: "${OPENMRS_CONFIG_CHECKSUMS_PATH:-openmrs-config-checksums}"
restic-compose-backup.volumes.include: "${OPENMRS_CONFIG_CHECKSUMS_PATH:-openmrs-config-checksums},${OPENMRS_PERSON_IMAGES_PATH:-openmrs-person-images}:/openmrs/data/person_images,${OPENMRS_COMPLEX_OBS_PATH:-openmrs-complex-obs}:/openmrs/data/complex_obs"
networks:
- ozone
- web
Expand All @@ -47,6 +47,8 @@ services:
- "${OPENMRS_CONFIG_CHECKSUMS_PATH:-openmrs-config-checksums}:/openmrs/data/configuration_checksums"
- "${OPENMRS_PROPERTIES_PATH}:/etc/properties/"
- "${OPENMRS_PROPERTIES_PATH}/fhirproxy.properties:/openmrs/data/fhirproxy/config.properties"
- "${OPENMRS_PERSON_IMAGES_PATH:-openmrs-person-images}:/openmrs/data/person_images"
- "${OPENMRS_COMPLEX_OBS_PATH:-openmrs-complex-obs}:/openmrs/data/complex_obs"

# OpenMRS 3 Frontend
frontend:
Expand Down Expand Up @@ -108,3 +110,5 @@ volumes:
openmrs-data: ~
openmrs-modules: ~
openmrs-owas: ~
openmrs-person-images: ~
openmrs-complex-obs: ~

0 comments on commit cc6ecb9

Please sign in to comment.