Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor starboard into multiple crates #343

Draft
wants to merge 22 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 54 additions & 13 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,18 +1,59 @@
# required
DISCORD_TOKEN=
SB_DATABASE_URL=postgresql://host.docker.internal/DB_NAME?user=DB_USER&password=DB_PASSWORD
# If you're using docker-compose, many of these
# values are usable as-is. There are a few values
# you need to specify, though:
# - DISCORD_TOKEN
# - BOT_ID
#
# If you want the bot to be used for production,
# you should set DEVELOPMENT=false

##################
### bot config ###
##################
DISCORD_TOKEN=""
BOT_ID=""
SHARDS=1
# true disables notifications
DEVELOPMENT=true
BOT_ID=
DEVELOPMENT="true"

# to add multiple, use "<id>,<id>" syntax
# OWNER_IDS=

# PATREON_TOKEN=
# SENTRY_URL=

# MAIN_GUILD=
# ERROR_CHANNEL_ID=
# PATRON_ROLE=
# SUPPORTER_ROLE=

#######################
### database config ###
#######################
POSTGRES_DB="starboard_db"
POSTGRES_USER="starboard_user"
POSTGRES_PASSWORD="starboard_pwd"
SB_DATABASE_URL="postgresql://starboard_user:starboard_pwd@db:5432/starboard_db"
# used by sqlx; leave blank unless contributing
DATABASE_URL=

# optional
OWNER_IDS=OWNER_ID_1, OWNER_ID_2
#######################################
### automatic backup config (rsync) ###
#######################################
# format is "<username>@<host>:<folder>"
# e.g. "[email protected]:/home/starboard-backups"
BK_DEST=
RSYNC_PASSWORD=

PATREON_TOKEN=
SENTRY_URL=
#################################################
### proxy config (proxy is optional) ###
### https://github.com/germanoeich/nirn-proxy ###
#################################################
PROXY="proxy:8080"
REQUEST_TIMEOUT="3000"

MAIN_GUILD=
ERROR_CHANNEL_ID=
PATRON_ROLE=
SUPPORTER_ROLE=
#############################
### docker-compose images ###
#############################
IMAGE_BOT="circuitsacul/starboard-bot:latest"
IMAGE_BACKUP="circuitsacul/starboard-backup:latest"
Loading