api de gestion de ticket, basé sur php-crud-api. Le but est de décorrélé les outils de gestion des données, afin
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

docker-compose.yml 947B

123456789101112131415161718192021222324252627282930313233
  1. version: '3'
  2. services:
  3. database:
  4. image: mysql:8.0
  5. container_name: database
  6. restart: always
  7. environment:
  8. - MYSQL_ROOT_PASSWORD=php-crud-api
  9. - MYSQL_DATABASE=php-crud-api
  10. - MYSQL_USER=php-crud-api
  11. - MYSQL_PASSWORD=php-crud-api
  12. #ports:
  13. #- "33066:3306"
  14. volumes:
  15. - ./tests/fixtures/blog_mysql.sql:/docker-entrypoint-initdb.d/blog_mysql.sql
  16. webserver:
  17. container_name: webserver
  18. build:
  19. context: ./
  20. environment:
  21. #- PHP_CRUD_API_DRIVER=mysql
  22. - PHP_CRUD_API_ADDRESS=database
  23. #- PHP_CRUD_API_PORT=3306
  24. #- PHP_CRUD_API_DATABASE=php-crud-api
  25. #- PHP_CRUD_API_USERNAME=php-crud-api
  26. #- PHP_CRUD_API_PASSWORD=php-crud-api
  27. #- PHP_CRUD_API_DEBUG=1
  28. ports:
  29. - "8080:80"
  30. depends_on:
  31. - database
  32. #volumes:
  33. #- .:/php-crud-api:ro