Public | Automated Build

Last pushed: 6 months ago
Short Description
Import data from remote mysql database when docker run.
Full Description

docker-mysql-remote

Usage

docker-compose
mysql:
  image: stormcat24/mysql-remote:latest
  ports:
    - 3306:3306
  environment:
    MYSQL_ROOT_PASSWORD: ""
    MYSQL_DATABASE: test # anything ok
    MYSQL_USER: youruser
    MYSQL_PASSWORD: yourpassword
    MYSQL_ALLOW_EMPTY_PASSWORD: yes
    IMPORT_SOURCES: "your_db_host1,3306,username,password,database1|your_db_host2,3306,username,password,database2"
Docker Pull Command
Owner
stormcat24
Source Repository