Update docker-compose.yaml
adding Postgres port env var
This commit is contained in:
		
							parent
							
								
									a56ef1b06f
								
							
						
					
					
						commit
						9484cb9b93
					
				@ -27,14 +27,15 @@ services:
 | 
				
			|||||||
        POSTGRES_USER: postgres
 | 
					        POSTGRES_USER: postgres
 | 
				
			||||||
        POSTGRES_PASSWORD: postgres
 | 
					        POSTGRES_PASSWORD: postgres
 | 
				
			||||||
        POSTGRES_DB: verceldb
 | 
					        POSTGRES_DB: verceldb
 | 
				
			||||||
 | 
					        POSTGRES_PORT: 5480
 | 
				
			||||||
      expose:
 | 
					      expose:
 | 
				
			||||||
        - 5432
 | 
					        - 5480
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  pg_proxy:
 | 
					  pg_proxy:
 | 
				
			||||||
    image: ghcr.io/neondatabase/wsproxy:latest
 | 
					    image: ghcr.io/neondatabase/wsproxy:latest
 | 
				
			||||||
    environment:
 | 
					    environment:
 | 
				
			||||||
      APPEND_PORT: "postgres:5432"
 | 
					      APPEND_PORT: "postgres:5480"
 | 
				
			||||||
      ALLOW_ADDR_REGEX: ".*"
 | 
					      ALLOW_ADDR_REGEX: ".*"
 | 
				
			||||||
      LOG_TRAFFIC: "true"
 | 
					      LOG_TRAFFIC: "true"
 | 
				
			||||||
    expose:
 | 
					    expose:
 | 
				
			||||||
@ -51,4 +52,4 @@ services:
 | 
				
			|||||||
      - 4566:4566
 | 
					      - 4566:4566
 | 
				
			||||||
    volumes:
 | 
					    volumes:
 | 
				
			||||||
      - ../localstack/aws:/etc/localstack/init/ready.d
 | 
					      - ../localstack/aws:/etc/localstack/init/ready.d
 | 
				
			||||||
      - ../localstack/aws:/app/web/aws
 | 
					      - ../localstack/aws:/app/web/aws
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user