mirror of
				https://github.com/cookiecutter/cookiecutter-django.git
				synced 2025-11-04 01:47:28 +03:00 
			
		
		
		
	adds a default postgres user during development
This commit is contained in:
		
							parent
							
								
									982b21d61b
								
							
						
					
					
						commit
						93c65590ee
					
				| 
						 | 
					@ -6,6 +6,8 @@ services:
 | 
				
			||||||
      # If you are using boot2docker, postgres data has to live in the VM for now until #581 is fixed
 | 
					      # If you are using boot2docker, postgres data has to live in the VM for now until #581 is fixed
 | 
				
			||||||
      # for more info see here: https://github.com/boot2docker/boot2docker/issues/581
 | 
					      # for more info see here: https://github.com/boot2docker/boot2docker/issues/581
 | 
				
			||||||
      - /data/dev/{{cookiecutter.repo_name}}/postgres:/var/lib/postgresql/data
 | 
					      - /data/dev/{{cookiecutter.repo_name}}/postgres:/var/lib/postgresql/data
 | 
				
			||||||
 | 
					    environment:
 | 
				
			||||||
 | 
					      - POSTGRES_USER={{cookiecutter.repo_name}}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  django:
 | 
					  django:
 | 
				
			||||||
    build:
 | 
					    build:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user