Cleanup .env and docker compose
This commit is contained in:
parent
b81b3db842
commit
efca4cce51
3 changed files with 0 additions and 38 deletions
|
@ -1,2 +0,0 @@
|
||||||
private/
|
|
||||||
db/
|
|
15
.env.example
15
.env.example
|
@ -17,9 +17,6 @@ API_URL=
|
||||||
# Your bot account's token.
|
# Your bot account's token.
|
||||||
BOT_TOKEN=
|
BOT_TOKEN=
|
||||||
|
|
||||||
# A Discord bot token, used for the bridge service.
|
|
||||||
BOT_TOKEN_DISCORD=
|
|
||||||
|
|
||||||
# The default prefix, can be overridden by server owners.
|
# The default prefix, can be overridden by server owners.
|
||||||
# Leave empty to keep default ("/")
|
# Leave empty to keep default ("/")
|
||||||
BOT_PREFIX=
|
BOT_PREFIX=
|
||||||
|
@ -44,10 +41,6 @@ INTERNAL_API_TOKEN=
|
||||||
# which gives them access to your server!
|
# which gives them access to your server!
|
||||||
BOT_OWNERS=
|
BOT_OWNERS=
|
||||||
|
|
||||||
# Optional: A Discord webhook URL which will be
|
|
||||||
# used to log certain events (bot started, etc).
|
|
||||||
LOG_WEBHOOK=
|
|
||||||
|
|
||||||
# Optional: If set, enables Prometheus metrics
|
# Optional: If set, enables Prometheus metrics
|
||||||
# on the specified port (Under /metrics).
|
# on the specified port (Under /metrics).
|
||||||
# Note that no authentication can be configured;
|
# Note that no authentication can be configured;
|
||||||
|
@ -71,11 +64,3 @@ BOT_METRICS_MSG_PING_CHANNEL=
|
||||||
|
|
||||||
PUBLIC_API_URL=http://localhost:9000
|
PUBLIC_API_URL=http://localhost:9000
|
||||||
PUBLIC_WEB_URL=http://localhost:8080
|
PUBLIC_WEB_URL=http://localhost:8080
|
||||||
|
|
||||||
# List of servers to use for bridging Revolt
|
|
||||||
# emojis to Discord. You will need at least 2
|
|
||||||
# servers. Revolt emojis will be automatically
|
|
||||||
# downloaded and synced to these servers.
|
|
||||||
# Please note that all other emojis will be deleted.
|
|
||||||
# Server IDs, divided by commas without spaces in between.
|
|
||||||
BRIDGE_EMOJI_SERVERS=
|
|
||||||
|
|
|
@ -51,27 +51,6 @@ services:
|
||||||
- 0.0.0.0:9000:9000
|
- 0.0.0.0:9000:9000
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
bridge:
|
|
||||||
build:
|
|
||||||
context: .
|
|
||||||
dockerfile: ./bridge/Dockerfile
|
|
||||||
environment:
|
|
||||||
- REVOLT_TOKEN=${BOT_TOKEN}
|
|
||||||
- DISCORD_TOKEN=${BOT_TOKEN_DISCORD}
|
|
||||||
- DB_STRING=mongodb://mogus:${DB_PASS}@mongo:27017/admin
|
|
||||||
- NODE_ENV=production
|
|
||||||
- BRIDGE_METRICS_PORT
|
|
||||||
- REVOLT_API_URL=${API_URL}
|
|
||||||
- EMOJI_SERVERS=${BRIDGE_EMOJI_SERVERS}
|
|
||||||
# Uncomment if you enabled Prometheus metrics
|
|
||||||
#ports:
|
|
||||||
# - 127.0.0.1:${BRIDGE_METRICS_PORT}:${BRIDGE_METRICS_PORT}
|
|
||||||
restart: unless-stopped
|
|
||||||
depends_on:
|
|
||||||
- mongo
|
|
||||||
|
|
||||||
# If you prefer to host the web app on a different
|
|
||||||
# platform like Vercel, you can remove this part.
|
|
||||||
web:
|
web:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
|
|
Loading…
Reference in a new issue