Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- docker-compose.yml 2023-11-06 15:07:49.133662693 +0000
- +++ mastodon/docker-compose.yml 2023-11-06 12:40:14.480924414 +0000
- @@ -55,8 +55,8 @@
- # - '127.0.0.1:9200:9200'
- web:
- - build: .
- - image: ghcr.io/mastodon/mastodon:v4.2.0
- + # build: .
- + image: tootsuite/mastodon:latest
- restart: always
- env_file: .env.production
- command: bash -c "rm -f /mastodon/tmp/pids/server.pid; bundle exec rails s -p 3000"
- @@ -76,8 +76,8 @@
- - ./public/system:/mastodon/public/system
- streaming:
- - build: .
- - image: ghcr.io/mastodon/mastodon:v4.2.0
- + # build: .
- + image: tootsuite/mastodon:latest
- restart: always
- env_file: .env.production
- command: node ./streaming
- @@ -94,8 +94,8 @@
- - redis
- sidekiq:
- - build: .
- - image: ghcr.io/mastodon/mastodon:v4.2.0
- + # build: .
- + image: tootsuite/mastodon:latest
- restart: always
- env_file: .env.production
- command: bundle exec sidekiq
- @@ -111,7 +111,7 @@
- test: ['CMD-SHELL', "ps aux | grep '[s]idekiq\ 6' || false"]
- ## Uncomment to enable federation with tor instances along with adding the following ENV variables
- - ## http_hidden_proxy=http://privoxy:8118
- + ## http_proxy=http://privoxy:8118
- ## ALLOW_ACCESS_TO_HIDDEN_SERVICE=true
- # tor:
- # image: sirboops/tor
- @@ -127,6 +127,12 @@
- # - external_network
- # - internal_network
- + watchtower:
- + image: containrrr/watchtower
- + volumes:
- + - /var/run/docker.sock:/var/run/docker.sock
- + restart: always
- +
- networks:
- external_network:
- internal_network:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement