Open port 5432 on docker-compose
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@ test:
|
||||
image: python:3.7
|
||||
stage: test
|
||||
services:
|
||||
- postgres:latest
|
||||
- postgres:12
|
||||
variables:
|
||||
POSTGRES_DB: ci
|
||||
POSTGRES_USER: postgres
|
||||
|
||||
@@ -5,6 +5,8 @@ services:
|
||||
image: postgres:12
|
||||
volumes:
|
||||
- dbdata:/var/lib/postgresql/data
|
||||
ports:
|
||||
- "5432:5432"
|
||||
web:
|
||||
build: .
|
||||
image: registry.gitlab.com/sahkoinsinoorikilta/vtmk/web2.0-backend
|
||||
|
||||
Reference in New Issue
Block a user