add docker-compose.yml for discord audit bot configuration
This commit is contained in:
parent
fdfb5304d9
commit
63f9607942
23
docker-compose.yml
Normal file
23
docker-compose.yml
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
services:
|
||||||
|
discord-audit-bot:
|
||||||
|
build: .
|
||||||
|
container_name: police-discord-bot
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
BOT_TOKEN: ${BOT_TOKEN}
|
||||||
|
APP_ID: ${APP_ID}
|
||||||
|
PUBLIC_KEY: ${PUBLIC_KEY}
|
||||||
|
DEFAULT_GUILD_ID: ${DEFAULT_GUILD_ID}
|
||||||
|
ADMIN_KEY: ${ADMIN_KEY}
|
||||||
|
PORT: ${PORT:-3000}
|
||||||
|
MAX_EVENT_AGE_SEC: ${MAX_EVENT_AGE_SEC:-300}
|
||||||
|
ports:
|
||||||
|
- "${PORT:-3000}:3000"
|
||||||
|
read_only: true
|
||||||
|
tmpfs:
|
||||||
|
- /tmp
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpus: "0.25"
|
||||||
|
memory: "128M"
|
||||||
Loading…
Reference in New Issue
Block a user