docker-compose.yml 406 B

1234567891011121314151617181920
  1. version: "3.8"
  2. services:
  3. mysql:
  4. image: "mysql:8"
  5. ports:
  6. - "3306:3306"
  7. restart: always
  8. environment:
  9. MYSQL_DATABASE: dinotest
  10. MYSQL_ROOT_PASSWORD: mysecretpassword
  11. postgresql:
  12. image: "postgres:13"
  13. ports:
  14. - "5432:5432"
  15. restart: always
  16. environment:
  17. POSTGRES_DB: dinotest
  18. POSTGRES_PASSWORD: mysecretpassword
  19. POSTGRES_USER: postgres