Commit e9ea694e authored by Yannis Barlas's avatar Yannis Barlas Committed by Alexandros Georgantas

test(*): add testing db

parent 39062aba
......@@ -2,15 +2,24 @@ version: '3'
services:
postgres:
image: postgres:10-alpine
restart: always
ports:
- ${POSTGRES_PORT:-5432}:5432
environment:
- POSTGRES_USER
- POSTGRES_DB
- POSTGRES_PASSWORD
- POSTGRES_PORT
volumes:
- ./data/postgres:/var/lib/postgresql/data
- ./scripts/test.sql:/docker-entrypoint-initdb.d/test.sql
\ No newline at end of file
image: postgres:10-alpine
restart: always
ports:
- ${POSTGRES_PORT:-5432}:5432
environment:
- POSTGRES_USER
- POSTGRES_DB
- POSTGRES_PASSWORD
- POSTGRES_PORT
volumes:
- ./data/postgres:/var/lib/postgresql
- ./scripts/test.sql:/docker-entrypoint-initdb.d/test.sql
postgres_test:
image: postgres:10-alpine
ports:
- 5433:5432
environment:
- POSTGRES_DB=test
- POSTGRES_USER=test
- POSTGRES_PASSWORD=pass
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment