Skip to content
Snippets Groups Projects
docker-compose.yml 339 B
version: '3.1'

services:
  postgres:
      image: postgres:12
      environment:
        POSTGRES_DB: compendium
        POSTGRES_USER: compendium
        POSTGRES_PASSWORD: compendium321
      restart: unless-stopped
      hostname: postgres
      ports:
          - "65000:5432"
      volumes:
          - ./build/db:/var/lib/postgresql