feat(backend): Databank initialiseren
Verbinding met databank aangemaakt, eerste entities toegevoegd, centrale API aangemaakt om omgevingsvariabelen voor onze app op te vragen.
This commit is contained in:
		
							parent
							
								
									c07bb959cf
								
							
						
					
					
						commit
						62a278a6e0
					
				
					 8 changed files with 86 additions and 10 deletions
				
			
		|  | @ -6,8 +6,7 @@ services: | |||
|       POSTGRES_PASSWORD: postgres | ||||
|       POSTGRES_DB: postgres | ||||
|     ports: | ||||
|       - "5432:5432" | ||||
|     network_mode: "host" | ||||
|       - "5431:5432" | ||||
|     volumes: | ||||
|         - postgres_data:/var/lib/postgresql/data | ||||
|         - ./backend/config/db/init.sql:/docker-entrypoint-initdb.d/init.sql | ||||
|  |  | |||
		Reference in a new issue
	
	 Gerald Schmittinger
						Gerald Schmittinger