LogoLogo
Back to Website
  • Changelog
  • LICENSE
  • WizBot v4
  • Privacy Policy
  • docs
    • Readme for Commands List
    • Config
    • How to contribute
    • Creds Guide
    • Donate
    • expressions
    • WizBot Documentation
    • jsons-explained
    • Permissions Overview
    • Placeholders
    • guides
      • docker-guide
      • Setting up WizBot on Linux
      • osx-guide
      • windows-guide
    • medusa
      • Creating A Medusa
      • Getting Started
      • Snek Lifecycle
  • .gitlab
    • issue_templates
      • Bug
      • Feature_Request
      • Question
    • merge_request_templates
      • Merge_Request
  • src
    • Coordinator project
    • Generators
    • WizBot.Medusa
    • WizBot.Tests
    • Votes Api
Powered by GitBook

WizBot

  • Invite
  • Commands
  • Blacklist
  • Donate

Selfhosting

  • Docs and Guides
  • Source Code
  • Release / Builds
  • Changelog

Features

  • Permissions
  • Expressions
  • Config
  • Placeholders

Utilities

  • Embed Builder
  • Permissions Calculator

© Copyright 2023 WizNet - All Rights Reserved.

On this page
  • Setting up WizBot with Docker
  • WORK IN PROGRESS

Was this helpful?

  1. docs
  2. guides

docker-guide

Setting up WizBot with Docker

WORK IN PROGRESS

Installation

  1. Create a /srv/wizbot folder

  • mkdir -p /srv/wizbot

  1. Create a docker-compose.yml

  • nano docker-compose.yml

  • copy the following contents into it:

docker-compose.yml

version: "3.7"
services:
  wizbot:
    image: registry.gitlab.com/wiznet/wizbot:latest
    depends_on:
      - redis
    environment:
      TZ: Europe/Paris
      WizBot_RedisOptions: redis,name=wizbot
      #WizBot_ShardRunCommand: dotnet
      #WizBot_ShardRunArguments: /app/WizBot.dll {0} {1}
    volumes:
      - /srv/wizbot/conf/creds.yml:/app/creds.yml:ro
      - /srv/wizbot/data:/app/data

  redis:
    image: redis:4-alpine
    sysctls:
      - net.core.somaxconn=511
    command: redis-server --maxmemory 32M --maxmemory-policy volatile-lru
    volumes:
      - /srv/wizbot/redis-data:/data
  1. Save your file and run docker compose

  • docker-compose up

  1. Edit creds in /srv/wizbot/conf/creds.yml

  2. Run it again with

  • docker-compose up

Updating

  • cd /srv/wizbot

  • docker-compose pull

  • docker-compose up -d

PreviousguidesNextSetting up WizBot on Linux

Last updated 1 year ago

Was this helpful?