Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve and fix the docker-compose experience #73

Merged
merged 1 commit into from
May 28, 2020
Merged

Conversation

Ginja
Copy link
Member

@Ginja Ginja commented May 28, 2020

Fixes #61

  • Introduces config/credentials.yml.enc.sample
  • Introduces RAILS_CREDENTIALS_PATH, which can be used to arbitrarily set which credential file to decrypt on startup. Should only be set when developing locally.
  • Updates values for KEY_CLAIM_HOST & KEY_CLAIM_TOKEN
  • Updates bootstrap.sh to run bundle exec rake portal:bootstrap, which properly sets up the database
  • Fixes MySQL healthcheck

Co-authored-by: Riley Shott <Ginja@users.noreply.github.com>
@honkfestival
Copy link
Member

honkfestival commented May 28, 2020

@jeffmaher this should fix things for you. There are a few cleanup steps you might want to perform first:

docker-compose down
docker-compose build
rm -rf tmp/mysql

Then the steps to get started:

./bootstrap.sh
docker-compose up

We can follow up with docker-compose documentation updates once #72 merges, but in the meantime, please give these a try!

@Ginja Ginja merged commit d555d1e into master May 28, 2020
@Ginja Ginja deleted the fix-docker-compose branch May 28, 2020 22:28
@dfmcphee dfmcphee mentioned this pull request May 29, 2020
@jeffmaher
Copy link
Contributor

@Ginja , @honkfestival : It's up and running! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Docker Compose setup doesn't work
3 participants