mirror of
https://github.com/Meituan-Dianping/Logan.git
synced 2026-01-25 14:56:22 +00:00
migration
This commit is contained in:
parent
e4f2804c1e
commit
bb3157f7be
@ -32,17 +32,15 @@ services:
|
||||
networks:
|
||||
- logan-network
|
||||
volumes:
|
||||
- ./scripts/migration:/etc/migrations
|
||||
- ./scripts/migration/mysql:/etc/migrations
|
||||
command:
|
||||
[
|
||||
"-source",
|
||||
"file:///etc/migrations",
|
||||
"-database",
|
||||
"mysql://logan:logan@tcp(logan-network:3306)/logan",
|
||||
"mysql://logan:logan@tcp(db:3306)/logan",
|
||||
"up"
|
||||
]
|
||||
depends_on:
|
||||
- db
|
||||
links:
|
||||
- db
|
||||
restart: "no"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user