Skip to content
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