Guest User

Untitled

a guest
Jan 20th, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. version: '3'
  2. services:
  3. ui:
  4. build: ./src/ui
  5. volumes:
  6. - ./src/ui:/ui
  7. - /ui/node_modules
  8. ports:
  9. - 3000:3000
  10. container_name: mvw_ui
  11. depends_on:
  12. - api
  13. api:
  14. build: ./src/api
  15. volumes:
  16. - ./src/api:/api
  17. - /api/node_modules
  18. ports:
  19. - 8000:8000
  20. container_name: mvw_api
  21. depends_on:
  22. - flyway
  23. flyway:
  24. image: boxfuse/flyway:5.2.1
  25. command: -url=jdbc:mysql://db -schemas=mvw -user=root -password=P@ssw0rd -connectRetries=60 migrate
  26. volumes:
  27. - ./sql:/flyway/sql
  28. container_name: mvw_flyway
  29. depends_on:
  30. - db
  31. db:
  32. image: mysql
  33. command: --default-authentication-plugin=mysql_native_password
  34. environment:
  35. - MYSQL_ROOT_PASSWORD=P@ssw0rd
  36. ports:
  37. - 3306:3306
  38. container_name: mvw_db
Add Comment
Please, Sign In to add comment