project-knedita/docker-compose.db.yml

17 lines
275 B
YAML
Raw Normal View History

2023-06-20 20:05:15 +00:00
version: '3.8'
services:
postgres:
image: postgres:alpine
restart: unless-stopped
container_name: postgres
ports:
- 5432:5432
env_file:
- .env
volumes:
- postgres:/var/lib/postgresql/data
volumes:
postgres:
name: backend-db