Skip to content

Commit

Permalink
Merge pull request #203 from Sun-Mountain/add-fly-toml
Browse files Browse the repository at this point in the history
add fly toml
  • Loading branch information
Nicole Zonnenberg authored Nov 28, 2023
2 parents c2f85bf + 6e0e062 commit 0f603d0
Show file tree
Hide file tree
Showing 2 changed files with 81 additions and 0 deletions.
61 changes: 61 additions & 0 deletions .dockerignore
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
20 changes: 20 additions & 0 deletions fly.toml
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

0 comments on commit 0f603d0

Please sign in to comment.