Advertisement
Guest User

docker-compose.local

a guest
Sep 14th, 2016
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. web:
  2. build: ../../imagePhpApp/
  3. ports:
  4. - "80:80"
  5. volumes:
  6. - ./dockerConfig/apache:/etc/apache2/sites-enabled
  7. - .:/var/www/html:rw
  8. - ./dockerData/logs/apache:/var/log/apache2
  9. links:
  10. - api:apihost
  11. - mysql:mysqlhost
  12. - mongo:mongohost
  13. api:
  14. build: ../../phalcon1.3/
  15. ports:
  16. - "81:80"
  17. volumes:
  18. - ./dockerConfig/urbania3-api/apache:/etc/apache2/sites-enabled
  19. - ../urbania3-api/:/var/www/html:rw
  20. - ./dockerData/urbania3-api/logs/apache:/var/log/apache2
  21. links:
  22. - mysql:mysqlhost
  23. mysql:
  24. image: mysql:5.5
  25. ports:
  26. - "3306:3306"
  27. environment:
  28. MYSQL_DATABASE: db_urbania3_local
  29. MYSQL_ROOT_PASSWORD: 1234
  30. volumes:
  31. - ./dockerConfig/mysql:/etc/mysql/conf.d
  32. - ./dockerConfig/restore/mysql:/docker-entrypoint-initdb.d
  33. mongo:
  34. image: bitnami/mongodb
  35. environment:
  36. - MONGODB_USER=usr_urbania3_local
  37. - MONGODB_PASSWORD=1234
  38. - MONGODB_DATABASE=urbania3devmdb_local
  39. ports:
  40. - "27017:27017"
  41. volumes:
  42. - ./dockerData/logs/mongo:/bitnami/mongodb/logs
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement