The code powering m.abunchtell.com https://m.abunchtell.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

44 lines
918 B

  1. version: '2'
  2. services:
  3. db:
  4. restart: always
  5. image: postgres:alpine
  6. volumes:
  7. - ./postgres-data:/var/lib/postgresql/data
  8. redis:
  9. restart: always
  10. image: redis:alpine
  11. web:
  12. restart: always
  13. build: .
  14. env_file: .env.production
  15. command: bundle exec rails s -p 3000 -b '0.0.0.0'
  16. ports:
  17. - "3000:3000"
  18. depends_on:
  19. - db
  20. - redis
  21. volumes:
  22. - ./public/assets:/mastodon/public/assets
  23. - ./public/system:/mastodon/public/system
  24. streaming:
  25. restart: always
  26. build: .
  27. env_file: .env.production
  28. command: npm run start
  29. ports:
  30. - "4000:4000"
  31. depends_on:
  32. - db
  33. - redis
  34. sidekiq:
  35. restart: always
  36. build: .
  37. env_file: .env.production
  38. command: bundle exec sidekiq -q default -q mailers -q pull -q push
  39. depends_on:
  40. - db
  41. - redis
  42. volumes:
  43. - ./public/system:/mastodon/public/system