This commit is contained in:
msnie
2025-02-02 19:06:41 +01:00
parent 3cfc943cd1
commit 28029cd52a
+9 -9
View File
@@ -39,14 +39,14 @@ services:
# - .env # - .env
# - db.env # - db.env
env_file: env_file:
- .env # - .env
- .env.production - .env.production
- db.env # - db.env
# ports: # ports:
# - 3000:3000 # - 3000:3000
environment: # environment:
- PUID=1000 # - PUID=1000
- PGID=1000 # - PGID=1000
command: bash -c "rm -f /mastodon/tmp/pids/server.pid; bundle exec rails s -p 3000" command: bash -c "rm -f /mastodon/tmp/pids/server.pid; bundle exec rails s -p 3000"
networks: networks:
- traefik - traefik
@@ -92,9 +92,9 @@ services:
# - .env # - .env
# - db.env # - db.env
env_file: env_file:
- .env # - .env
- .env.production - .env.production
- db.env # - db.env
command: node ./streaming command: node ./streaming
environment: environment:
- 'REDIS_URL=redis://redis:6379' - 'REDIS_URL=redis://redis:6379'
@@ -128,9 +128,9 @@ services:
image: ghcr.io/mastodon/mastodon:v4.3.3 image: ghcr.io/mastodon/mastodon:v4.3.3
restart: always restart: always
env_file: env_file:
- .env # - .env
- .env.production - .env.production
- db.env # - db.env
command: bundle exec sidekiq command: bundle exec sidekiq
depends_on: depends_on:
- db - db