13 lines
252 B
YAML
13 lines
252 B
YAML
services:
|
|
db:
|
|
image: postgres
|
|
restart: always
|
|
ports:
|
|
- 5432:5432
|
|
environment:
|
|
POSTGRES_USER: root
|
|
POSTGRES_PASSWORD: mysecretpassword
|
|
POSTGRES_DB: memento
|
|
volumes:
|
|
- ~/tmp/pgdata:/var/lib/postgresql
|