-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #217 from silinternational/feature/docker-compose
update docker compose
- Loading branch information
Showing
7 changed files
with
24 additions
and
25 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
hub: clean | ||
docker-compose up -d ssp-hub.local | ||
docker compose up -d ssp-hub.local | ||
|
||
clean: | ||
docker-compose kill | ||
docker-compose rm -f | ||
docker compose kill | ||
docker compose rm -f | ||
|
||
composer: | ||
docker-compose run --rm composer bash -c "./update-composer-deps.sh" | ||
docker compose run --rm composer bash -c "./update-composer-deps.sh" | ||
|
||
test: | ||
docker-compose run --rm ssp-hub.local ./run-metadata-tests.sh | ||
docker-compose run --rm ssp-idp1.local ./run-metadata-tests.sh | ||
docker-compose run --rm ssp-sp1.local ./run-metadata-tests.sh | ||
docker-compose run --rm test | ||
docker compose run --rm ssp-hub.local ./run-metadata-tests.sh | ||
docker compose run --rm ssp-idp1.local ./run-metadata-tests.sh | ||
docker compose run --rm ssp-sp1.local ./run-metadata-tests.sh | ||
docker compose run --rm test | ||
|
||
test-integration: | ||
docker-compose run --rm test ./run-integration-tests.sh | ||
docker compose run --rm test ./run-integration-tests.sh | ||
|
||
copyJsLib: | ||
cp ./node_modules/@simplewebauthn/browser/dist/bundle/index.umd.min.js ./modules/mfa/www/simplewebauthn/browser.js | ||
cp ./node_modules/@simplewebauthn/browser/LICENSE.md ./modules/mfa/www/simplewebauthn/LICENSE.md | ||
|
||
deps: | ||
docker-compose run --rm node npm install --ignore-scripts | ||
docker compose run --rm node npm install --ignore-scripts | ||
make copyJsLib | ||
|
||
depsupdate: | ||
docker-compose run --rm node npm update --ignore-scripts | ||
docker compose run --rm node npm update --ignore-scripts | ||
make copyJsLib |
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,4 +1,3 @@ | ||
version: '3' | ||
services: | ||
|
||
# the db container is used by the silauth module | ||
|
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