Files

23 lines
550 B
YAML
Raw Permalink Normal View History

version: '3.8'
services:
postgres:
image: postgres:15-alpine
container_name: yunhaifinance-postgres
environment:
POSTGRES_USER: ${DB_USER:-postgres}
POSTGRES_PASSWORD: ${DB_PASSWORD:-changeme}
POSTGRES_DB: ${DB_NAME:-company_finance}
ports:
- "10052:5432"
volumes:
- yunhaifinance-postgres-data:/var/lib/postgresql/data
- ./backend/migrations:/docker-entrypoint-initdb.d
networks:
- yunhaifinance-network
volumes:
yunhaifinance-postgres-data:
networks:
yunhaifinance-network: