Thanks to visit codestin.com
Credit goes to hub.docker.com

gylfirst/chouettebot

By gylfirst

Updated 2 days ago

Discord bot project using discord.py with fun and useful commands

Image
2

1.8K

gylfirst/chouettebot repository overview

Docker version of your Discord bot, which can be found here: ChouetteBot

You need to get your .env file completed to run the bot.

Docker run command:

# Don't forget to remplace the path to .env file, logs and data folders and change tag
docker pull gylfirst/chouettebot:tag
docker run --name chouette-bot --env-file /path/to/.env -p 8080:8080 -v /path/to/logs:/usr/src/chouettebot/logs -v /path/to/data:/usr/src/chouettebot/data --restart unless-stopped --pull always gylfirst/chouettebot:tag

Docker compose file example :

services:
  bot:
    image: gylfirst/chouettebot:tag                     # Change tag to get a specitic version
    container_name: "chouette-bot"                      # Name of the container you want to display
    env_file: /path/to/.env                             # Path to your .env file

    ports:                                              # Expose port for web service
      - "8080:8080"                                     # Exposed port:Inner port
    volumes:
      - /path/to/logs:/usr/src/chouettebot/logs         # Path to logs
      - /path/to/data:/usr/src/chouettebot/data         # Path to data folder

    restart: unless-stopped                             # Restart policy (here it will always restart unless you stopped it)
    pull_policy: always                                 # Pull the image before the application start

Project by Gylfirst & Zalk0

Tag summary

Content type

Image

Digest

sha256:931020e68

Size

36.1 MB

Last updated

2 days ago

Requires Docker Desktop 4.37.1 or later.