This commit is contained in:
msnie
2025-02-01 00:28:55 +01:00
parent e61e6569b2
commit a754bb7cba
+10 -9
View File
@@ -11,8 +11,8 @@ services:
# added from the default, otherwise you'll need to manually create a `mastodon` db and user/role
# env_file: db.env
env_file:
- .env
- db.env
# - .env
# - db.env
- .env.production
environment:
- 'POSTGRES_HOST_AUTH_METHOD=trust'
@@ -23,7 +23,8 @@ services:
image: redis:7-alpine
networks:
- internal_network
env_file: db.env
env_file:
- .env.production
healthcheck:
test: ['CMD', 'redis-cli', 'ping']
# environment:
@@ -38,9 +39,9 @@ services:
# - .env
# - db.env
env_file:
- .env
# - .env
- .env.production
- db.env
# - db.env
# ports:
# - 3000:3000
# environment:
@@ -91,9 +92,9 @@ services:
# - .env
# - db.env
env_file:
- .env
# - .env
- .env.production
- db.env
# - db.env
command: node ./streaming
environment:
- 'REDIS_URL=redis://redis:6379'
@@ -127,9 +128,9 @@ services:
image: ghcr.io/mastodon/mastodon:v4.3.3
restart: always
env_file:
- .env
# - .env
- .env.production
- db.env
# - db.env
command: bundle exec sidekiq
depends_on:
- db