quotes on docker-compose.yml ports (#6089)
This commit is contained in:
		
							parent
							
								
									04cbd956eb
								
							
						
					
					
						commit
						391c961c7f
					
				| @ -4,7 +4,7 @@ services: | |||||||
|   mysql: |   mysql: | ||||||
|     image: 'mysql/mysql-server:latest' |     image: 'mysql/mysql-server:latest' | ||||||
|     ports: |     ports: | ||||||
|       - 9910:3306 |       - "9910:3306" | ||||||
|     environment: |     environment: | ||||||
|       - MYSQL_DATABASE=gorm |       - MYSQL_DATABASE=gorm | ||||||
|       - MYSQL_USER=gorm |       - MYSQL_USER=gorm | ||||||
| @ -13,7 +13,7 @@ services: | |||||||
|   postgres: |   postgres: | ||||||
|     image: 'postgres:latest' |     image: 'postgres:latest' | ||||||
|     ports: |     ports: | ||||||
|       - 9920:5432 |       - "9920:5432" | ||||||
|     environment: |     environment: | ||||||
|       - TZ=Asia/Shanghai |       - TZ=Asia/Shanghai | ||||||
|       - POSTGRES_DB=gorm |       - POSTGRES_DB=gorm | ||||||
| @ -22,7 +22,7 @@ services: | |||||||
|   mssql: |   mssql: | ||||||
|     image: '${MSSQL_IMAGE:-mcmoe/mssqldocker}:latest' |     image: '${MSSQL_IMAGE:-mcmoe/mssqldocker}:latest' | ||||||
|     ports: |     ports: | ||||||
|       - 9930:1433 |       - "9930:1433" | ||||||
|     environment: |     environment: | ||||||
|       - ACCEPT_EULA=Y |       - ACCEPT_EULA=Y | ||||||
|       - SA_PASSWORD=LoremIpsum86 |       - SA_PASSWORD=LoremIpsum86 | ||||||
| @ -32,5 +32,5 @@ services: | |||||||
|   tidb: |   tidb: | ||||||
|     image: 'pingcap/tidb:v6.5.0' |     image: 'pingcap/tidb:v6.5.0' | ||||||
|     ports: |     ports: | ||||||
|       - 9940:4000 |       - "9940:4000" | ||||||
|     command: /tidb-server -store unistore -path "" -lease 0s > tidb.log 2>&1 & |     command: /tidb-server -store unistore -path "" -lease 0s > tidb.log 2>&1 & | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Jiepeng Cao
						Jiepeng Cao