Skip to content

Commit

Permalink
fix: revert to default configs
Browse files Browse the repository at this point in the history
  • Loading branch information
thekovie committed Mar 3, 2024
1 parent ef698a6 commit 6d28f6d
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/fly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy ./DBApplication/dbapp --remote-only --nixpacks
- run: flyctl deploy ./DBApplication/dbapp --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
28 changes: 27 additions & 1 deletion DBApplication/dbapp/fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,30 @@
app = "hoa-dbapp"
primary_region = "sin"

[[services]]
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = true
auto_start_machines = true

[checks]
[checks.alive]
type = "tcp"
interval = "15s"
timeout = "2s"
grace_period = "5s"

[build]
builder = "paketobuildpacks/builder:base"

[build.args]
BP_JVM_TYPE="JRE"
BP_JVM_VERSION="17"
BP_JAVA_INSTALL_NODE="false"
BP_MAVEN_POM_FILE="pom.xml"
BP_MAVEN_VERSION="3"

[env]
JAVA_TOOL_OPTIONS="-Xss256K -XX:MaxDirectMemorySize=2M -XX:ReservedCodeCacheSize=32M -XX:MaxMetaspaceSize=32M -Xmx32m"
BPL_JVM_THREAD_COUNT="100"

0 comments on commit 6d28f6d

Please sign in to comment.