18 lines
350 B
YAML
18 lines
350 B
YAML
services:
|
|
# PostgreSQL Database
|
|
# User: postgres
|
|
# Password: postgres
|
|
# Port: 5432
|
|
postgres:
|
|
image: postgres:17
|
|
restart: always
|
|
container_name: local-postgres
|
|
ports:
|
|
- "5432:5432"
|
|
environment:
|
|
POSTGRES_PASSWORD: postgres
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
|
|
volumes:
|
|
postgres_data:
|