docker-compose.yaml 348 B

123456789101112131415161718
  1. version: '2'
  2. services:
  3. db:
  4. image: postgres
  5. environment:
  6. - "POSTGRES_USER=db"
  7. - "POSTGRES_PASSWORD=123"
  8. - "POSTGRES_DB=db_dev"
  9. ports:
  10. - 5433:5432
  11. dbtest:
  12. image: postgres
  13. environment:
  14. - "POSTGRES_USER=db"
  15. - "POSTGRES_PASSWORD=123"
  16. - "POSTGRES_DB=db_test"
  17. ports:
  18. - 5434:5432