db/docker-compose.yml
Orion Kindel 3a14f001f6
Some checks failed
gen-migrations / gen-migrations (push) Failing after 7s
fix: gen-migrations workflow
2023-07-20 00:35:54 -05:00

29 lines
703 B
YAML

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: '-p 5432'
healthcheck:
test: [ "CMD-SHELL", "pg_isready" ]
interval: 5s
timeout: 5s
retries: 5
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: '-p 5433'
healthcheck:
test: [ "CMD-SHELL", "pg_isready" ]
interval: 5s
timeout: 5s
retries: 5