docker-compose.test.yml 246 Bytes
Newer Older
1
version: '3'
Yannis Barlas's avatar
Yannis Barlas committed
2 3

services:
4
  db_test:
Yannis Barlas's avatar
Yannis Barlas committed
5 6
    image: postgres:10-alpine
    ports:
7
      - ${DB_PORT:-5481}:5432
Yannis Barlas's avatar
Yannis Barlas committed
8
    environment:
9 10 11
      - POSTGRES_DB=${DB_NAME:-test}
      - POSTGRES_USER=${DB_USER:-test}
      - POSTGRES_PASSWORD=${DB_PASSWORD:-pass}