Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplified platform start-up. Running non-Java apps in the same process.
- Loading branch information
1 parent
40ad9b5
commit 42b3098
Showing
61 changed files
with
1,039 additions
and
1,137 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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,28 @@ | |||
#!/usr/bin/env bash | |||
set -euo pipefail | |||
IFS=$'\n\t' | |||
|
|||
./cleanup.sh | |||
|
|||
printf "\n - Testing ENV-CONFIG (tag=$TAG)\n\n" | |||
|
|||
docker run \ | |||
--net host \ | |||
-v $(pwd)/app2:/app \ | |||
-e "UNIFORM_OUTPUT=true" \ | |||
-e "ROOT=/app/the-root" \ | |||
-e "CONFIG=my-config" \ | |||
-e "ON_PORT=5555" \ | |||
-e "RAPIDOID_PORT=9999" \ | |||
-e "APP_SERVICES=status" \ | |||
-e "ADMIN_SERVICES=overview" \ | |||
rapidoid/rapidoid:$TAG \ | |||
dev \ | |||
abc=123 \ | |||
> output/env-config-dev.txt 2>&1 & | |||
|
|||
./wait-for.sh 9999 | |||
|
|||
./http-get.sh env-config-dev-req 9999 /rapidoid/status | |||
|
|||
./cleanup.sh |
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
Oops, something went wrong.