Advertisement
Guest User

Untitled

a guest
Jul 26th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. version: '3'
  2. services:
  3. mysql:
  4. container_name: "octopusjs_mysql"
  5. image: mysql
  6. volumes:
  7. - ./mysql_data:/var/lib/mysql
  8. environment:
  9. MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
  10. MYSQL_DATABASE: ${MYSQL_DATABASE}
  11. redis:
  12. container_name: "octopusjs_redis"
  13. image: redis
  14. api:
  15. container_name: "octopusjs_api"
  16. tty: true
  17. build: ./api/
  18. env_file:
  19. - .env
  20. links:
  21. - redis
  22. - mysql
  23. - mongo
  24. volumes:
  25. - ./api:/var/www
  26. ports:
  27. - "3003:${API_PORT}"
  28. client:
  29. container_name: "octopusjs_client"
  30. tty: true
  31. build: ./client/
  32. env_file:
  33. - .env
  34. ports:
  35. - "3002:${CLIENT_PORT}"
  36. links:
  37. - redis
  38. - api
  39. volumes:
  40. - ./client:/var/www
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement