ttj4 / mysql-migrator

Simple docker container which periodically checks a micro-service end point and performs mysql migration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to use:

pass the following in docker-compose.yml:

db-dumper:
    image: ttj4/mysql-migrator
    environment:
        - SERVICE_HEALTHCHECK=<micro-service:80/health>
        - MYSQL_HOST=<db-host>
        - MYSQL_ROOT_PASSWORD=<db-password>
        - MYSQL_DATABASE=<db-name>
    volumes:
        - ./<dir-where-.sql-files-reside>:/opt/dumps

About

Simple docker container which periodically checks a micro-service end point and performs mysql migration


Languages

Language:Shell 63.5%Language:Dockerfile 36.5%