fix container names

fix bug in mastodon environmental file path
This commit is contained in:
Pim Kunis 2023-01-09 23:58:04 +01:00
parent fe64dd1f82
commit ace3a9ac83
7 changed files with 138 additions and 132 deletions

View file

@ -3,6 +3,7 @@ services:
db:
restart: always
image: postgres:14-alpine
container_name: mastodon-db
shm_size: 256mb
networks:
- default
@ -19,6 +20,7 @@ services:
redis:
restart: always
image: redis:7-alpine
container_name: mastodon-redis
networks:
- default
healthcheck:
@ -30,6 +32,7 @@ services:
web:
image: tootsuite/mastodon:v3.5.3
container_name: mastodon-web
restart: always
env_file: .env.production
command: bash -c "rm -f /mastodon/tmp/pids/server.pid; bundle exec rails s -p 3000"
@ -58,6 +61,7 @@ services:
streaming:
image: tootsuite/mastodon:v3.5.3
container_name: mastodon-streaming
restart: always
env_file: .env.production
command: node ./streaming
@ -82,6 +86,7 @@ services:
sidekiq:
image: tootsuite/mastodon:v3.5.3
container_name: mastodon-sidekiq
restart: always
env_file: .env.production
command: bundle exec sidekiq