Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (20 sloc) 539 Bytes
version: '2.0'
services:
mysql_test_source:
environment:
MYSQL_DATABASE: source
MYSQL_PASSWORD: pass
MYSQL_ROOT_PASSWORD: pass
MYSQL_USER: user
image: mysql:5.7
mysql_test_target:
environment:
MYSQL_DATABASE: target
MYSQL_PASSWORD: pass
MYSQL_ROOT_PASSWORD: pass
MYSQL_USER: user
image: mysql:5.7
app:
environment:
SOURCE_DATABASE_URL: mysql://user:pass@mysql_test_source:3306/source
TARGET_DATABASE_URL: mysql://user:pass@mysql_test_target:3306/target
You can’t perform that action at this time.