2024-07-29 21:14:42 +00:00
|
|
|
services:
|
|
|
|
db:
|
2024-07-29 21:28:50 +00:00
|
|
|
image: postgres:16
|
2024-07-29 21:14:42 +00:00
|
|
|
ports:
|
|
|
|
- '5432:5432'
|
|
|
|
volumes:
|
|
|
|
- '/opt/db_data:/var/lib/postgresql/data'
|
|
|
|
environment:
|
|
|
|
POSTGRES_PASSWORD: pass
|
|
|
|
POSTGRES_DB: repo
|
|
|
|
POSTGRES_USER: db_user
|