-
Notifications
You must be signed in to change notification settings - Fork 0
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 #203 from Sun-Mountain/add-fly-toml
add fly toml
- Loading branch information
Showing
2 changed files
with
81 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# flyctl launch added from .gitignore | ||
**/.vscode | ||
**/.env | ||
|
||
# flyctl launch added from api/.gitignore | ||
# See https://help.github.com/articles/ignoring-files for more about ignoring files. | ||
# | ||
# If you find yourself ignoring temporary files generated by your text editor | ||
# or operating system, you probably want to add a global ignore instead: | ||
# git config --global core.excludesfile '~/.gitignore_global' | ||
|
||
# Ignore bundler config. | ||
api/.bundle | ||
|
||
# Ignore all logfiles and tempfiles. | ||
api/log/* | ||
api/tmp/* | ||
!api/log/.keep | ||
!api/tmp/.keep | ||
|
||
# Ignore pidfiles, but keep the directory. | ||
api/tmp/pids/* | ||
!api/tmp/pids | ||
!api/tmp/pids/.keep | ||
|
||
# Ignore uploaded files in development. | ||
api/storage/* | ||
!api/storage/.keep | ||
api/tmp/storage/* | ||
!api/tmp/storage | ||
!api/tmp/storage/.keep | ||
|
||
# Ignore master key for decrypting credentials and more. | ||
api/config/master.key | ||
|
||
api/**/.env | ||
|
||
# flyctl launch added from frontend/.gitignore | ||
frontend/**/.DS_Store | ||
frontend/**/node_modules | ||
frontend/dist | ||
|
||
# local env files | ||
frontend/**/.env.local | ||
frontend/**/.env.*.local | ||
|
||
# Log files | ||
frontend/**/npm-debug.log* | ||
frontend/**/yarn-debug.log* | ||
frontend/**/yarn-error.log* | ||
frontend/**/pnpm-debug.log* | ||
|
||
# Editor directories and files | ||
frontend/**/.idea | ||
frontend/**/.vscode | ||
frontend/**/*.suo | ||
frontend/**/*.ntvs* | ||
frontend/**/*.njsproj | ||
frontend/**/*.sln | ||
frontend/**/*.sw? | ||
fly.toml |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# fly.toml app configuration file generated for lettucemeetapp on 2023-11-28T14:51:48-05:00 | ||
# | ||
# See https://fly.io/docs/reference/configuration/ for information about how to use this file. | ||
# | ||
|
||
app = "lettucemeetapp" | ||
primary_region = "iad" | ||
|
||
[http_service] | ||
internal_port = 8080 | ||
force_https = true | ||
auto_stop_machines = true | ||
auto_start_machines = true | ||
min_machines_running = 0 | ||
processes = ["app"] | ||
|
||
[[vm]] | ||
cpu_kind = "shared" | ||
cpus = 1 | ||
memory_mb = 1024 |