Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parameterise backup frequency to be user input #22

Merged
merged 4 commits into from
Aug 6, 2024

Conversation

vijayabharathib
Copy link
Contributor

@vijayabharathib vijayabharathib commented May 21, 2024

fix issue #20

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Dockerfile Outdated
@@ -22,10 +22,19 @@ RUN chmod +x /usr/local/bin/dockerize
ARG GIT_COMMIT_ID=unspecified
ENV GIT_COMMIT_ID=$GIT_COMMIT_ID

# Target frequencies needed. Make them true from docker compose.

ENV SCHEDULE_BACKUP_HOURLY "false"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vijayabharathib can we set this as true by default?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

@@ -11,3 +11,8 @@ MYSQL_PORT="3306"
MYSQL_USER="root"
MYSQL_PASSWORD="secret"
MYSQLDUMP_DATABASE="my_wiki"
# specify the frequencies needed
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vijayabharathib Here this has to be like key=value format.

SCHEDULE_BACKUP_HOURLY="true"

like the above

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

Copy link
Member

@arulrajnet arulrajnet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Address the review comments.

@arulrajnet arulrajnet merged commit 1fa3d29 into main Aug 6, 2024
2 checks passed
@arulrajnet arulrajnet deleted the backup-frequency-parameterised branch August 6, 2024 04:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants