docker-compose.yml 315 B

12345678910111213141516
  1. version: "3"
  2. services:
  3. db:
  4. image: postgres:15.1-alpine
  5. ports:
  6. - ${DB_PORT}:5432
  7. volumes:
  8. - homethings_pg_data:/var/lib/postgresql/data
  9. environment:
  10. - POSTGRES_DB=${DB_NAME}
  11. - POSTGRES_USER=${DB_USER}
  12. - POSTGRES_PASSWORD=${DB_PASSWORD}
  13. volumes:
  14. homethings_pg_data: