Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Must run Mastodon docker setup twice #11368
setup should pull from supposedly saved .env.production from inside the container and use that info to populate db and compile assets. It does not, and db population
Setup fails after answering message in screenshot, ruby errors following:
Steps to reproduce the problem
After setting up the environment I ran
Using container image 2.9.2 for Mastodon, Ubuntu linux as the host. Docker version 18.09.8, build 0dd43dd87f. docker-compose version 1.24.1, build 4667896b
From an inspection of the
I tried to search through the scripts and whatnot, but couldn't turn up anything. Maybe someone much more familiar with the project can pinpoint the issue.
A possible workaround is to not include the line
I'm not entirely sure what to suggest but I see a few options:
Edit: It's fully possible this is an issue with the container image itself, I'm just realizing.
I just run
Looks like mastodon didn't use docker image environment variable properly:
The image has set SECRET_KEY_BASE already, but setup Processing didn't use this environment variable.