|
|
@ -38,7 +38,7 @@ services:
|
|
|
|
image: tootsuite/mastodon
|
|
|
|
image: tootsuite/mastodon
|
|
|
|
restart: always
|
|
|
|
restart: always
|
|
|
|
env_file: .env.production
|
|
|
|
env_file: .env.production
|
|
|
|
command: bash -c "rm -f /mastodon/tmp/pids/server.pid; bundle exec rails s -p 3000 -b '0.0.0.0'"
|
|
|
|
command: bash -c "rm -f /mastodon/tmp/pids/server.pid; bundle exec rails s -p 3000"
|
|
|
|
networks:
|
|
|
|
networks:
|
|
|
|
- external_network
|
|
|
|
- external_network
|
|
|
|
- internal_network
|
|
|
|
- internal_network
|
|
|
@ -58,7 +58,7 @@ services:
|
|
|
|
image: tootsuite/mastodon
|
|
|
|
image: tootsuite/mastodon
|
|
|
|
restart: always
|
|
|
|
restart: always
|
|
|
|
env_file: .env.production
|
|
|
|
env_file: .env.production
|
|
|
|
command: BIND=0.0.0.0 node ./streaming
|
|
|
|
command: node ./streaming
|
|
|
|
networks:
|
|
|
|
networks:
|
|
|
|
- external_network
|
|
|
|
- external_network
|
|
|
|
- internal_network
|
|
|
|
- internal_network
|
|
|
|