Skip to content

Commit

Permalink
Merge pull request #491 from tktcorporation/feature/0/shabeko-2
Browse files Browse the repository at this point in the history
  • Loading branch information
tktcorporation authored Oct 7, 2024
2 parents 4dba8f2 + 37a0530 commit 208ab48
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-to-fly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ jobs:
AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_ACCESS_KEY }} \
AWS_REGION=${{ secrets.AWS_REGION }} \
DISCORD_CMD_PREFIX=${{ secrets.DISCORD_CMD_PREFIX_MUSIC }}
- run: flyctl deploy --remote-only
# - run: flyctl deploy --remote-only
33 changes: 22 additions & 11 deletions fly-tts-2.toml
Original file line number Diff line number Diff line change
@@ -1,22 +1,33 @@
app = "shabeko-discord-bot"
kill_signal = "SIGINT"
kill_timeout = 5
processes = []
# fly.toml app configuration file generated for shabeko-discord-bot on 2024-10-05T15:32:02Z
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#

[build]
dockerfile = "docker/Dockerfile"
app = 'shabeko-discord-bot'
primary_region = 'sin'
kill_signal = 'SIGINT'
kill_timeout = '5s'

[env]

[experimental]
allowed_public_ports = []
auto_rollback = true

[build]
dockerfile = 'docker/Dockerfile'

[[services]]
http_checks = []
processes = ["app"]
script_checks = []
protocol = ''
internal_port = 0
ports = []
processes = ['app']

[services.concurrency]
type = 'connections'
hard_limit = 25
soft_limit = 20
type = "connections"

[[vm]]
memory = '256'
cpu_kind = 'shared'
cpus = 1

0 comments on commit 208ab48

Please sign in to comment.