version: '3' name: 'dnim_db' services: base: container_name: 'base' network_mode: 'host' image: 'postgres:15.3-bullseye' env_file: ['./.env.schema'] volumes: ['/var/run/postgresql:/var/run/postgresql'] command: '-h localhost -p 5432' head: container_name: 'head' network_mode: 'host' image: 'postgres:15.3-bullseye' restart: 'always' env_file: ['./.env.schema'] volumes: ['/var/run/postgresql:/var/run/postgresql'] command: '-h localhost -p 5433'