Advertisement
Guest User

Untitled

a guest
Nov 1st, 2018
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.58 KB | None | 0 0
  1. version: '2'
  2. services:
  3. mariadb:
  4. image: mariadb
  5. environment:
  6. - MYSQL_ROOT_PASSWORD=123
  7. - MYSQL_USER=root
  8. volumes:
  9. - ./conf/mariadb-conf.d:/etc/mysql/conf.d
  10. - /var/lib/mysql
  11. ports:
  12. - "3307:3306" #mariadb-port
  13. container_name: mariadb
  14.  
  15. redis-cache:
  16. image: redis:alpine
  17.  
  18. volumes:
  19. - ./redis-conf:/etc/conf.d
  20.  
  21. command: ["redis-server","/etc/conf.d/redis_cache.conf"]
  22.  
  23. container_name: redis-cache
  24.  
  25. redis-queue:
  26. image: redis:alpine
  27.  
  28. volumes:
  29. - ./redis-conf:/etc/conf.d
  30.  
  31. command: ["redis-server","/etc/conf.d/redis_queue.conf"]
  32.  
  33. container_name: redis-queue
  34.  
  35. redis-socketio:
  36. image: redis:alpine
  37.  
  38. volumes:
  39. - ./redis-conf:/etc/conf.d
  40.  
  41. command: ["redis-server","/etc/conf.d/redis_socketio.conf"]
  42.  
  43. container_name: redis-socketio
  44.  
  45.  
  46. frappe:
  47. volumes:
  48. - ./frappe-bench:/home/frappe/frappe-bench
  49. - ./redis-conf/redis_cache.conf:/home/frappe/frappe-bench/config/redis_cache.conf
  50. - ./redis-conf/redis_queue.conf:/home/frappe/frappe-bench/config/redis_queue.conf
  51. - ./redis-conf/redis_socketio.conf:/home/frappe/frappe-bench/config/redis_socketio.conf
  52. ports:
  53. - "8000:8000" #webserver_port
  54. - "9000:9000" #socketio_port
  55. - "6787:6787" #file_watcher_port
  56. stdin_open: true
  57. tty: true
  58. links:
  59. - redis-cache
  60. - redis-queue
  61. - redis-socketio
  62. - mariadb
  63. depends_on:
  64. - mariadb
  65. - redis-cache
  66. - redis-queue
  67. - redis-socketio
  68. container_name: frappe
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement