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

PR to add mysql_port, default values and minor other changes #7

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

TonyTromp
Copy link

  • 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
Copy link
Owner

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
Copy link
Owner

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.

Copy link
Author

@TonyTromp TonyTromp Jul 4, 2022

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

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