Advertisement
Guest User

shit

a guest
Jun 2nd, 2018
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1. version: '2'
  2. services:
  3.  
  4. # NGINX
  5. web:
  6. image: rjdwebsites/realplaygaming:web
  7. container_name: gotcha-web
  8. volumes_from:
  9. - app
  10. ports:
  11. - "8181:80"
  12.  
  13. # Laravel PHP
  14. app:
  15. image: rjdwebsites/realplaygaming:app
  16. container_name: gotcha-app
  17. volumes:
  18. - ./:/var/www
  19. env_file: ".env"
  20. links:
  21. - database
  22. ports:
  23. - "80:80"
  24.  
  25. # F# Game engine
  26. engine:
  27. image: elicio/gotcha-core:path_enhancements
  28. container_name: gotcha-engine
  29. volumes_from:
  30. - app
  31. links:
  32. - eventstore
  33. ports:
  34. - "8080:8080"
  35. environment:
  36. - "EVENTSTORE_HOST=gotcha-events"
  37.  
  38. # Storage for game engine
  39. eventstore:
  40. image: eventstore/eventstore:latest
  41. container_name: gotcha-events
  42. ports:
  43. - "2113:2113"
  44. - "1113:1113"
  45.  
  46. # Redis event store
  47. # redis:
  48. # image: redis:latest
  49. # container_name: gotcha-redis
  50. # volumes:
  51. # - ./redis/redis.conf:/etc/redis.conf
  52. # - dbdata:/var/lib/redis
  53. # environment:
  54. # - "REDIS_PASSWORD=secret"
  55. # ports:
  56. # - "6379:6379"
  57. # command: >
  58. # sh -c "redis-server /etc/redis.conf"
  59.  
  60. # Postgres 9.6
  61. database:
  62. image: postgres:latest
  63. container_name: gotcha-postgres
  64. volumes:
  65. - dbdata:/var/lib/postgres
  66. environment:
  67. - "POSTGRES_DB=gotcha"
  68. - "POSTGRES_USER=postgres"
  69. - "POSTGRES_PASSWORD=secret"
  70. - "POSTGRES_ROOT_PASSWORD=secret"
  71. - "LC_ALL=C.UTF-8"
  72. ports:
  73. - "5432:5432"
  74.  
  75. volumes:
  76. dbdata:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement