-
Notifications
You must be signed in to change notification settings - Fork 4
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
PR to add mysql_port, default values and minor other changes #7
base: master
Are you sure you want to change the base?
Conversation
TonyTromp
commented
Jul 1, 2022
- Added mysql_port (which can be used for kubernetes nodePorts or when there are more instances on host).
- Added docker-compose file with build instructions
- Added default values if environment params are not set
spec: | ||
containers: | ||
- name: mysql-backup-azure | ||
image: adamhancock/mysql-backup-to-azure:develop | ||
image: mysql-to-azure-backup |
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.
Hi, thanks for your PR but changing the image name to remove the username prefix will result in image not found?
build: | ||
dockerfile: Dockerfile | ||
context: . | ||
image: mysql-to-azure-backup:latest |
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.
The same issue with this image name.
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.
its because your configuration always uses the image you have uploaded to Docker Hub, and not using the locally build one at all.
To build docker image locally simply run:
- docker-compose build
to run it (once) - docker-compose up