-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable local accounts when Guisso is enabled (#909)
* Fix Debian Stretch repositories They were moved to Debian's archive. * Use Docker Compose v2 Instead of the old `docker-compose` v1 script * Force x86_64 Docker images in development We don't support ARM yet * Disable Disable local accounts when Guisso is enabled If we delegate authentication to Guisso, then stop using Devise's local accounts. We want to have this in production, since Guisso has CAPTCHA implemented to avoid automated account creation - and we want to avoid implementing CAPTCHA on each of our apps.
- Loading branch information
1 parent
cd74912
commit 3de250b
Showing
8 changed files
with
31 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#!/bin/sh | ||
#!/bin/sh -e | ||
|
||
docker-compose pull | ||
docker-compose up -d db elasticsearch redis | ||
docker-compose run --rm --no-deps web bundle | ||
docker-compose run --rm --no-deps web rake db:setup | ||
docker-compose run --rm --no-deps web rake db:test:prepare | ||
docker compose pull | ||
docker compose up -d db elasticsearch redis | ||
docker compose run --rm --no-deps web bundle | ||
docker compose run --rm --no-deps web rake db:setup | ||
docker compose run --rm --no-deps web rake db:test:prepare |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
#!/bin/sh | ||
docker-compose run --rm web "$@" | ||
docker compose run --rm web "$@" |