1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-05-02 12:09:53 +03:00

Add Dockerfile and compose.yaml (#335)

This PR adds Dockerfile, to run Octobot within a Docker container, and
compose.yaml, to run the Octobot container along with any services that
the user may require.

---------

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
Co-authored-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
Octol1ttle 2024-10-27 21:34:01 +05:00
parent 9e44d49039
commit 84dc248038
Signed by: Octol1ttle
GPG key ID: B77C34313AEE1FFF
4 changed files with 65 additions and 18 deletions

17
compose.example.yaml Normal file
View file

@ -0,0 +1,17 @@
services:
octobot:
container_name: octobot
build:
context: .
args:
- PUBLISH_OPTIONS
environment:
- BOT_TOKEN
volumes:
- guild-data:/Octobot/GuildData
- logs:/Octobot/Logs
restart: unless-stopped
volumes:
guild-data:
logs: