-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into oz-702
- Loading branch information
Showing
14 changed files
with
125 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
FROM openmrs/openmrs-reference-application-3-frontend:nightly | ||
ADD distro/binaries/openmrs/frontend /usr/share/nginx/html | ||
ADD distro/configs/openmrs/frontend_config /usr/share/nginx/html/ozone | ||
ADD distro/configs/openmrs/frontend_config /usr/share/nginx/html/configs | ||
RUN mkdir -p /app | ||
WORKDIR /app | ||
COPY bundled-docker/frontend/startup.sh /app | ||
RUN chmod +x /app/startup.sh | ||
CMD ["/app/startup.sh"] | ||
CMD ["/app/startup.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
services: | ||
backup: | ||
image: mekomsolutions/restic-compose-backup | ||
volumes: | ||
- /var/run/docker.sock:/tmp/docker.sock:ro | ||
# Map local restic repository | ||
- ${BACKUP_PATH:-./restic_data}:/restic_data | ||
# Map restic cache | ||
- restic_cache:/cache | ||
environment: | ||
RESTIC_REPOSITORY: ${RESTIC_REPOSITORY} | ||
RESTIC_PASSWORD: ${RESTIC_PASSWORD} | ||
RESTIC_KEEP_DAILY: ${RESTIC_KEEP_DAILY} | ||
RESTIC_KEEP_WEEKLY: ${RESTIC_KEEP_WEEKLY} | ||
RESTIC_KEEP_MONTHLY: ${RESTIC_KEEP_MONTHLY} | ||
RESTIC_KEEP_YEARLY: ${RESTIC_KEEP_YEARLY} | ||
LOG_LEVEL: ${LOG_LEVEL} | ||
CRON_SCHEDULE: ${CRON_SCHEDULE} | ||
AWS_DEFAULT_REGION: ${AWS_DEFAULT_REGION} | ||
AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID} | ||
AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY} | ||
networks: | ||
- ozone | ||
volumes: | ||
restic_cache: ~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
services: | ||
openmrs: | ||
depends_on: | ||
restore: | ||
condition: service_completed_successfully | ||
profiles: | ||
- openmrs-restore | ||
odoo: | ||
depends_on: | ||
restore: | ||
condition: service_completed_successfully | ||
profiles: | ||
- odoo-restore | ||
backup: | ||
depends_on: | ||
restore: | ||
condition: service_completed_successfully | ||
restore: | ||
image: mekomsolutions/restic-compose-backup-restore | ||
volumes: | ||
- /var/run/docker.sock:/tmp/docker.sock:ro | ||
# Map local restic repository | ||
- ${BACKUP_PATH:-./restic_data}:/restic_data | ||
environment: | ||
RESTIC_REPOSITORY: ${RESTIC_REPOSITORY} | ||
RESTIC_PASSWORD: ${RESTIC_PASSWORD} | ||
RESTIC_RESTORE_SNAPSHOT: ${RESTIC_RESTORE_SNAPSHOT} | ||
LOG_LEVEL: ${LOG_LEVEL} | ||
AWS_DEFAULT_REGION: ${AWS_DEFAULT_REGION} | ||
AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID} | ||
AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY} | ||
networks: | ||
- ozone |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters