Skip to content

Commit

Permalink
docker ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
Derick80 committed Apr 26, 2024
1 parent b395069 commit 0765299
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 23 deletions.
7 changes: 7 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/node_modules
*.log
.DS_Store
.env
/.cache
/public/build
/build
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
- name: 🎈 Setup Fly
uses: superfly/flyctl-actions/setup-flyctl@1.5

- name: 🚀 Deploy Staging
- name: 🚀 Deploy development
if: ${{ github.ref == 'refs/heads/development' }}
run: flyctl deploy --remote-only --app ${{ steps.app_name.outputs.value }}-development
env:
Expand Down
30 changes: 8 additions & 22 deletions fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,11 @@ kill_timeout = '5s'
[experimental]
auto_rollback = true


[env]
PORT = '8080'

[[services]]
protocol = 'tcp'
internal_port = 8080
processes = ['app']

[[services.ports]]
port = 80
handlers = ['http']
force_https = true

[[services.ports]]
port = 443
handlers = ['tls', 'http']

[services.concurrency]
type = 'connections'
hard_limit = 25
soft_limit = 20
[services]
[checks.name_of_your_http_check]
grace_period = "30s"
interval = "15s"
method = "get"
port = 5500
timeout = "10s"
type = "http"

0 comments on commit 0765299

Please sign in to comment.