2024-10-04 19:19:49 +00:00
|
|
|
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:
|
2024-10-04 21:39:35 +00:00
|
|
|
- ../../db_data_howmuch/postgres/:/var/lib/postgresql/data
|
2024-10-04 19:19:49 +00:00
|
|
|
|
|
|
|
adminer:
|
|
|
|
image: adminer
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- 8080:8080
|