Advertisement
Guest User

Untitled

a guest
Nov 6th, 2023
22
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.61 KB | None | 0 0
  1. --- docker-compose.yml 2023-11-06 15:07:49.133662693 +0000
  2. +++ mastodon/docker-compose.yml 2023-11-06 12:40:14.480924414 +0000
  3. @@ -55,8 +55,8 @@
  4. # - '127.0.0.1:9200:9200'
  5.  
  6. web:
  7. - build: .
  8. - image: ghcr.io/mastodon/mastodon:v4.2.0
  9. + # build: .
  10. + image: tootsuite/mastodon:latest
  11. restart: always
  12. env_file: .env.production
  13. command: bash -c "rm -f /mastodon/tmp/pids/server.pid; bundle exec rails s -p 3000"
  14. @@ -76,8 +76,8 @@
  15. - ./public/system:/mastodon/public/system
  16.  
  17. streaming:
  18. - build: .
  19. - image: ghcr.io/mastodon/mastodon:v4.2.0
  20. + # build: .
  21. + image: tootsuite/mastodon:latest
  22. restart: always
  23. env_file: .env.production
  24. command: node ./streaming
  25. @@ -94,8 +94,8 @@
  26. - redis
  27.  
  28. sidekiq:
  29. - build: .
  30. - image: ghcr.io/mastodon/mastodon:v4.2.0
  31. + # build: .
  32. + image: tootsuite/mastodon:latest
  33. restart: always
  34. env_file: .env.production
  35. command: bundle exec sidekiq
  36. @@ -111,7 +111,7 @@
  37. test: ['CMD-SHELL', "ps aux | grep '[s]idekiq\ 6' || false"]
  38.  
  39. ## Uncomment to enable federation with tor instances along with adding the following ENV variables
  40. - ## http_hidden_proxy=http://privoxy:8118
  41. + ## http_proxy=http://privoxy:8118
  42. ## ALLOW_ACCESS_TO_HIDDEN_SERVICE=true
  43. # tor:
  44. # image: sirboops/tor
  45. @@ -127,6 +127,12 @@
  46. # - external_network
  47. # - internal_network
  48.  
  49. + watchtower:
  50. + image: containrrr/watchtower
  51. + volumes:
  52. + - /var/run/docker.sock:/var/run/docker.sock
  53. + restart: always
  54. +
  55. networks:
  56. external_network:
  57. internal_network:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement