Skip to content

Commit

Permalink
use env_file option
Browse files Browse the repository at this point in the history
  • Loading branch information
fono09 committed Mar 7, 2024
1 parent ec29ff5 commit 5bc2d42
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker-compose.yml
Expand Up @@ -82,6 +82,7 @@ services:
build: .
image: ghcr.io/mastodon/mastodon:v4.2.8
restart: always
env_file: .env.production
command: bash -c "rm -f /mastodon/tmp/pids/server.pid; bundle exec rails s -p 3000"
networks:
- external_network
Expand Down Expand Up @@ -163,6 +164,7 @@ services:
build: .
image: ghcr.io/mastodon/mastodon:v4.2.8
restart: always
env_file: .env.production
command: node ./streaming
networks:
- external_network
Expand All @@ -185,6 +187,7 @@ services:
build: .
image: ghcr.io/mastodon/mastodon:v4.2.8
restart: always
env_file: .env.production
command: bundle exec sidekiq
depends_on:
- db
Expand Down

0 comments on commit 5bc2d42

Please sign in to comment.