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.

35 lines
863 B

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. # For more information: https://laravel.com/docs/sail
  2. version: '3'
  3. services:
  4. laravel:
  5. build: .
  6. container_name: app
  7. user: "1000:${GID}"
  8. ports:
  9. - '8000:80'
  10. volumes:
  11. - '.:/var/www/html'
  12. mysql:
  13. image: 'mysql'
  14. tmpfs: /var/lib/mysql
  15. environment:
  16. MYSQL_ROOT_PASSWORD: ''
  17. MYSQL_DATABASE: 'test'
  18. MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
  19. pma:
  20. image: 'phpmyadmin'
  21. ports:
  22. - 8080:80
  23. environment:
  24. PMA_HOST: mysql
  25. UPLOAD_LIMIT: 200M
  26. mongodb:
  27. container_name: mongodb
  28. image: mongo
  29. tmpfs: /data/db
  30. environment:
  31. MONGO_INITDB_ROOT_USERNAME: 'root'
  32. MONGO_INITDB_ROOT_PASSWORD: 'root'
  33. logging:
  34. driver: none