store/compose.yml

16 lines
320 B
YAML
Raw Normal View History

2024-08-28 07:17:40 +00:00
services:
postgres:
container_name: store_postgres
image: postgres:16
environment:
- POSTGRES_DB=store
- POSTGRES_USER=store
- POSTGRES_PASSWORD=store123
ports:
- "5432:5432"
volumes:
- "store_data:/var/lib/postgresql/data"
volumes:
store_data:
name: store_data