Open timaschew opened 2 years ago
Did you copy the contents of .env.production
based on the instructions from mastodon:setup
?
What do you mean with copy? Manual copy & past?
Either the mastodon:setup
should updat the .env.production
should write to the .env.production
file everything or nothing, right now it's doing half of the job which is very confusing (or even wrong).
When using Docker, the setup scripts instructs you to copy the file:
Below is your configuration, save it to an .env.production file outside Docker
This is because the file is used as environment source for all the containers, and cannot be written from within the container.
Either the
mastodon:setup
should updat the.env.production
should write to the.env.production
file everything or nothing
It does not overwrite the .env.production
file that is outside the container at all.
Steps to reproduce the problem
v3.5.2
docker-compose run --rm web bundle exec rake mastodon:setup
, email test is working (I receive an email)docker-compose up -d
When checeking the config and logs I see that
SMTP_SERVER
is no set correctly from the interactiverake mastodon:setup
command.Expected behaviour
SMTP_SERVER should be set to the passed value
Actual behaviour
SMTP_SERVER is always set to localhost
Specifications
v3.5.2 via docker