xyter/docker-compose.dev.yml
Joshua Schmitt fbcbf8545b fix: 🚀 fix and rewrote docker stuff
I reworked the docker files and added docker support for the new config system.

The old config system is no longer working
2022-07-05 16:07:02 +00:00

33 lines
1 KiB
YAML

services:
app:
depends_on:
- mongodb
build: .
restart: unless-stopped
environment:
- DISCORD_TOKEN=YOUR TOKEN
- DISCORD_CLIENT_ID=YOUR CLIENT ID
- DISCORD_GUILD_ID=YOUR GUILD ID
### LEAVE THIS AS IT IS! ###
- MONGO_URL=mongodb://mongodb:27017/xyter?retryWrites=true&w=majority
############################
- ENCRYPTION_ALGORITHM=aes-256-ctr
- ENCRYPTION_SECRET=A RANDOM STRING WITH LENGTH OF 32
- EMEBD_COLOR_SUCCESS=#22bb33
- EMBED_COLOR_WAIT=#f0ad4e
- EMBED_COLOR_ERROR=#bb2124
- EMBED_FOOTER_TEXT=https://github.com/ZynerOrg/xyter
- EMBED_FOOTER_ICON=https://github.com/ZynerOrg.png
- LOG_LEVEL=silly
- REPUTATION_TIMEOUT=86400
- BOT_HOSTER_NAME=Zyner
- BOT_HOSTER_URL=https://xyter.zyner.org/customization/change-hoster
- NODE_ENV=production
stdin_open: true
tty: true
mongodb:
image: mongo:4.2.21
restart: unless-stopped
volumes:
- ./logs:/app/build/logs
- ./database:/data/db