-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
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" |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.
There was a problem hiding this 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.
fix issue #20