]> cat aescling's git repositories - mastodon.git/commit
Fix mastodon:setup not running properly when some environment variables are set ...
authorThibG <thib@sitedethib.com>
Tue, 2 Jun 2020 11:57:21 +0000 (13:57 +0200)
committerGitHub <noreply@github.com>
Tue, 2 Jun 2020 11:57:21 +0000 (13:57 +0200)
commit9b7e3b4774d47c184aa759364d41f40e0cdfa210
tree3a6c6a63475f9251e74b299959c59714adc31f04
parentf96a891853e73454bacdb25922d403834878f8c4
Fix mastodon:setup not running properly when some environment variables are set (#13928)

When using one of the docker-compose containers, mastodon:setup will use the
existing .env.production rather than the generated one during the setup steps.

This is because dotenv does not overwrite env variables that are alreayd
defined, and the docker-compose.yml file loads the environment variables
from .env.production.
lib/tasks/mastodon.rake