Files
ohrwurm/README.md
Johannes Heuel 2c42c6769b
All checks were successful
Rust / build (push) Successful in 50s
Rust / test (push) Successful in 54s
Rust / clippy (push) Successful in 38s
Rust / fmt (push) Successful in 1m34s
Rust / pre-commit (push) Successful in 41s
add deployment instructions to readme
2024-06-07 14:35:53 +02:00

779 B

Light

Ohrwurm

Deployment

To deploy Ohrwurm with Docker, you can use the provided Docker image:

docker run -d \
  --name ohrwurm \
  --restart unless-stopped \
  -e DISCORD_TOKEN=YOUR_DISCORD_BOT_TOKEN \
  -e DISCORD_APP_ID=YOUR_DISCORD_APP_ID \
  -e ADMIN=YOUR_DISCORD_USER_ID \
  jheuel/ohrwurm:latest

Alternatively, you can create a docker-compose.yml file:

services:
  ohrwurm:
    container_name: ohrwurm
    image: jheuel/ohrwurm:latest
    restart: unless-stopped
    env:
      - DISCORD_TOKEN=YOUR_DISCORD_BOT_TOKEN
      - DISCORD_APP_ID=YOUR_DISCORD_APP_ID
      - ADMIN=YOUR_DISCORD_USER_ID

and then run the image with docker compose up.