webshop_fa23b/docker/local/docker-compose.yaml

18 lines
369 B
YAML
Raw Permalink Normal View History

2024-08-28 07:41:09 +00:00
version: '3.9'
volumes:
store_postgres_data:
driver: local
services:
postgres_for_store:
container_name: store_postgres_container
image: postgres:13.3
volumes:
- store_postgres_data:/var/lib/postgresql/data
environment:
POSTGRES_DB: store_db
POSTGRES_USER: store
POSTGRES_PASSWORD: secret
ports:
- "5432:5432"