version: "3" name: "dnim_db" services: base: container_name: "base" image: "postgres:15.3-bullseye" expose: ['5432'] ports: - "5432:5432" env_file: - "./.env.schema" head: container_name: "head" image: "postgres:15.3-bullseye" restart: "always" expose: ['5433'] ports: - "5433:5433" command: '-p 5433' env_file: - "./.env.schema"