docker-compose.yml 448 B

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