# version: "3.6"
services:
  postgres:
    image: postgres:13
    ports:
      - "5835:5432" # expose pg on port 5832 to not collide with pg from elswhere
    restart: always
    volumes:
      - db_data:/var/lib/postgresql/data
    environment:
      POSTGRES_PASSWORD: ${PGPASSWORD}
      POSTGRES_HOST_AUTH_METHOD: trust
      POSTGRES_DB: workplacify_db
volumes:
  db_data:
