docker-compose-postgres/docker-compose.yaml

13 lines
248 B
YAML
Raw Permalink Normal View History

2024-12-09 10:45:09 -05:00
version: '3.8'
services:
database:
image: postgres:alpine
restart: unless-stopped
environment:
POSTGRES_DB: ${DB_DATABASE}
POSTGRES_USER: ${DB_USER}
POSTGRES_PASSWORD: ${DB_PASSWORD}
ports:
- "5432:5432"