20 lines
480 B
YAML
20 lines
480 B
YAML
version: '3.1'
|
|
name: ${REPO_NAME}
|
|
services:
|
|
bot:
|
|
container_name: discord_bot
|
|
build: ${REPO_HTTPS_URL}
|
|
restart: always
|
|
environment:
|
|
# These will read from the .env file
|
|
# (They need double $ to escape from the templating (i think))
|
|
DISCORD_INTENTS: $${DISCORD_INTENTS}
|
|
DISCORD_TOKEN: $${DISCORD_TOKEN}
|
|
DISCORD_ID: $${DISCORD_ID}
|
|
redis:
|
|
container_name: redis_db
|
|
image: redis
|
|
restart: always
|
|
ports:
|
|
- 6379:6379
|