mirror of
https://github.com/jackmerrill/hampbot.git
synced 2024-12-04 13:02:59 -08:00
chore: production release
This commit is contained in:
parent
b4dde94e86
commit
71f878ba65
|
@ -31,7 +31,7 @@ RUN GOOS=linux go build ./main.go
|
|||
##### Stage 2 #####
|
||||
|
||||
### Define the running image
|
||||
FROM scratch
|
||||
FROM scratch as runner
|
||||
|
||||
### Alternatively to 'FROM scratch', use 'alpine':
|
||||
# FROM alpine:3.13.1
|
||||
|
|
18
fly.toml
Normal file
18
fly.toml
Normal file
|
@ -0,0 +1,18 @@
|
|||
# fly.toml app configuration file generated for hampbot on 2023-08-19T17:40:32-05:00
|
||||
#
|
||||
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
|
||||
#
|
||||
|
||||
app = "hampbot"
|
||||
primary_region = "bos"
|
||||
|
||||
[build]
|
||||
build-target = "runner"
|
||||
|
||||
[http_service]
|
||||
internal_port = 8080
|
||||
force_https = true
|
||||
auto_stop_machines = false
|
||||
auto_start_machines = true
|
||||
min_machines_running = 1
|
||||
processes = ["app"]
|
|
@ -15,7 +15,7 @@ var (
|
|||
|
||||
var (
|
||||
// BotPrefix is the prefix used for bot commands.
|
||||
BotPrefix = ">"
|
||||
BotPrefix = "!"
|
||||
|
||||
// BotGuild is the ID of the guild the bot is running on.
|
||||
BotGuild = "936651575684915201"
|
||||
|
|
Loading…
Reference in New Issue
Block a user