Changed docker-compose.yml version to '3.3' and added 'localhost' to django ALLOWED_HOSTS.
This commit is contained in:
		
							parent
							
								
									79956e0186
								
							
						
					
					
						commit
						83e5743ac5
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -25,7 +25,7 @@ SECRET_KEY = 'w*d2$rg#i88&6^9u2)jl0!4_)=_e1)0fxreofqzb(qxaw$3+$d' | ||||||
| # SECURITY WARNING: don't run with debug turned on in production! | # SECURITY WARNING: don't run with debug turned on in production! | ||||||
| DEBUG = True | DEBUG = True | ||||||
| 
 | 
 | ||||||
| ALLOWED_HOSTS = ['192.168.99.100'] | ALLOWED_HOSTS = ['localhost','192.168.99.100'] | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| # Application definition | # Application definition | ||||||
|  |  | ||||||
|  | @ -1,4 +1,4 @@ | ||||||
| version: '3.6' | version: '3.3' | ||||||
| 
 | 
 | ||||||
| services: | services: | ||||||
|   api: |   api: | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 kououken
						kououken