ParkingBackend/docker-compose.yml

18 lines
300 B
YAML
Raw Normal View History

2024-12-17 00:08:36 +04:00
version: '3.8'
services:
db:
image: postgres:latest
container_name: parking_db
environment:
POSTGRES_USER: user
POSTGRES_PASSWORD: password
POSTGRES_DB: parking
ports:
- "5432:5432"
volumes:
- db_data:/var/lib/postgresql/data
volumes:
db_data: