From 7cd76944b9f38b760aefa46745b9a1c6446c7954 Mon Sep 17 00:00:00 2001 From: srqc <98553181+2srqc@users.noreply.github.com> Date: Thu, 29 Dec 2022 12:15:20 -0500 Subject: [PATCH] Update and rename .env.example to .env --- .env | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++ .env.example | 0 2 files changed, 74 insertions(+) create mode 100644 .env delete mode 100644 .env.example diff --git a/.env b/.env new file mode 100644 index 00000000..ef94d4ba --- /dev/null +++ b/.env @@ -0,0 +1,74 @@ +# 32 character encryption key +KEY= + +# Values from the Discord developer portal +CLIENT_ID= +CLIENT_SECRET= +BOT_TOKEN= + +# The defaults here automatically work for the development environment. +# For production, change localhost:3300 to your domain. +DASHBOARD_URL=https://localhost:3300 +API_URL=https://localhost:3300/api + +# Comma-separated list of user IDs who should have access to the bot's global commands +STAFF= + +# A comma-separated list of server IDs that should be allowed by default +DEFAULT_ALLOWED_SERVERS= + +# When using the Docker-based development environment, this is only used internally. The API will be available at localhost:DOCKER_DEV_WEB_PORT/api. +API_PORT=3000 + +# Only required if relevant feature is used +#PHISHERMAN_API_KEY= + +# The user ID and group ID that should be used within the Docker containers +# This should match your own user ID and group ID. Run `id -u` and `id -g` to find them. +DOCKER_USER_UID= +DOCKER_USER_GID= + +# +# DOCKER (DEVELOPMENT) +# NOTE: You only need to fill in these values for running the development environment. See production config further below. +# + +DOCKER_DEV_WEB_PORT=3300 + +# The MySQL database running in the container is exposed to the host on this port, +# allowing access with database tools such as DBeaver +DOCKER_DEV_MYSQL_PORT=3001 +# Password for the Zeppelin database user +DOCKER_DEV_MYSQL_PASSWORD= +# Password for the MySQL root user +DOCKER_DEV_MYSQL_ROOT_PASSWORD= + +# The development environment container has an SSH server that you can connect to. +# This is the port that server is exposed to the host on. +DOCKER_DEV_SSH_PORT=3002 +DOCKER_DEV_SSH_PASSWORD=password + +# If your user has a different UID than 1000, you might have to fill that in here to avoid permission issues +#DOCKER_DEV_UID=1000 + +# +# DOCKER (PRODUCTION) +# NOTE: You only need to fill in these values for running the production environment. See development config above. +# + +DOCKER_PROD_DOMAIN= +DOCKER_PROD_WEB_PORT=443 +# The MySQL database running in the container is exposed to the host on this port, +# allowing access with database tools such as DBeaver +DOCKER_PROD_MYSQL_PORT=3001 +# Password for the Zeppelin database user +DOCKER_PROD_MYSQL_PASSWORD= +# Password for the MySQL root user +DOCKER_PROD_MYSQL_ROOT_PASSWORD= + +# You only need to set these if you're running an external database. +# In a standard setup, the database is run in a docker container. +#DB_HOST= +#DB_USER= +#DB_PASSWORD= +#DB_DATABASE= diff --git a/.env.example b/.env.example deleted file mode 100644 index e69de29b..00000000