Add Dockerfile

This commit is contained in:
2020-12-27 03:31:53 +01:00
parent 8709038492
commit 827f156e08
5 changed files with 78 additions and 9 deletions

18
docker-compose.yml Normal file
View File

@ -0,0 +1,18 @@
version: "3"
services:
discord-reminder-bot:
#image: thelovinator/discord-reminder-bot
build: .
env_file:
- .env
container_name: discord-reminder-bot
environment:
- BOT_TOKEN=${BOT_TOKEN}
- TIMEZONE=${TIMEZONE}
- LOG_LEVEL=${LOG_LEVEL}
- SQLITE_LOCATION=/data/jobs.sqlite
# restart: unless-stopped
volumes:
- data_folder:/home/botuser/data/
volumes:
data_folder: