mirror of
https://github.com/jackmerrill/hampbot.git
synced 2025-04-19 02:00:47 -04: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 #####
|
##### Stage 2 #####
|
||||||
|
|
||||||
### Define the running image
|
### Define the running image
|
||||||
FROM scratch
|
FROM scratch as runner
|
||||||
|
|
||||||
### Alternatively to 'FROM scratch', use 'alpine':
|
### Alternatively to 'FROM scratch', use 'alpine':
|
||||||
# FROM alpine:3.13.1
|
# 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 (
|
var (
|
||||||
// BotPrefix is the prefix used for bot commands.
|
// BotPrefix is the prefix used for bot commands.
|
||||||
BotPrefix = ">"
|
BotPrefix = "!"
|
||||||
|
|
||||||
// BotGuild is the ID of the guild the bot is running on.
|
// BotGuild is the ID of the guild the bot is running on.
|
||||||
BotGuild = "936651575684915201"
|
BotGuild = "936651575684915201"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user