howmuch/deployment/docker-compose.yml
2024-10-04 23:39:35 +02:00

23 lines
412 B
YAML

services:
postgres:
image: postgres
restart: always
ports:
- "5432:5432"
deploy:
mode: replicated
replicas: 1
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: example
POSTGRES_DB: howmuch
volumes:
- ../../db_data_howmuch/postgres/:/var/lib/postgresql/data
adminer:
image: adminer
restart: always
ports:
- 8080:8080