23 lines
443 B
YAML
23 lines
443 B
YAML
|
version: "3"
|
||
|
name: "dnim_db"
|
||
|
services:
|
||
|
base:
|
||
|
container_name: "base"
|
||
|
image: "postgres:15.3-bullseye"
|
||
|
ports:
|
||
|
- "5433:5432"
|
||
|
volumes:
|
||
|
- "./data/base:/var/lib/postgres/data"
|
||
|
env_file:
|
||
|
- "./.env"
|
||
|
head:
|
||
|
container_name: "head"
|
||
|
image: "postgres:15.3-bullseye"
|
||
|
restart: "always"
|
||
|
ports:
|
||
|
- "5432:5432"
|
||
|
volumes:
|
||
|
- "./data/head:/var/lib/postgres/data"
|
||
|
env_file:
|
||
|
- "./.env"
|