mirror of https://github.com/go-gorm/gorm.git
only listen local port
This commit is contained in:
parent
73a988ceb2
commit
3d09f7947f
|
@ -4,7 +4,7 @@ services:
|
|||
mysql:
|
||||
image: 'mysql/mysql-server:latest'
|
||||
ports:
|
||||
- "9910:3306"
|
||||
- "127.0.0.1:9910:3306"
|
||||
environment:
|
||||
- MYSQL_DATABASE=gorm
|
||||
- MYSQL_USER=gorm
|
||||
|
@ -13,7 +13,7 @@ services:
|
|||
postgres:
|
||||
image: 'postgres:latest'
|
||||
ports:
|
||||
- "9920:5432"
|
||||
- "127.0.0.1:9920:5432"
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
- POSTGRES_DB=gorm
|
||||
|
@ -22,7 +22,7 @@ services:
|
|||
mssql:
|
||||
image: '${MSSQL_IMAGE:-mcmoe/mssqldocker}:latest'
|
||||
ports:
|
||||
- "9930:1433"
|
||||
- "127.0.0.1:9930:1433"
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
- ACCEPT_EULA=Y
|
||||
|
@ -33,5 +33,5 @@ services:
|
|||
tidb:
|
||||
image: 'pingcap/tidb:v6.5.0'
|
||||
ports:
|
||||
- "9940:4000"
|
||||
- "127.0.0.1:9940:4000"
|
||||
command: /tidb-server -store unistore -path "" -lease 0s > tidb.log 2>&1 &
|
||||
|
|
Loading…
Reference in New Issue