Skip to content

Linux / MAC / Windows Installation

Requirements

How To Install

Method 1: Pull the image directly

you can pull the image directly in portainer

Portainer add image

then you need to map the port

Portainer add image

After that you can fill the environments with the values needed.

WARNING

Please refer to Environments to get a list of available options.

Finally, you can deploy and it should be running on port 8080 (per image)

Method2: Use Docker Compose To Build Stack

Go to Github and check docker-compose file.

Copy the content of docker-compose file

WARNING

you need to add the image name, and you can remove the volumes if not required.

the updated docker compose file should look like the following

yaml
services:
  discount-bandit:
    image: cybrarist/discount-bandit:v3.1.2-amd64
    ports:
      - 8080:80
    environment:
      DB_CONNECTION: sqlite
      NTFY_CHANNEL_ID: ""
      TELEGRAM_BOT_TOKEN: ""
      TELEGRAM_CHANNEL_ID: ""
      DEFAULT_USER: "test"
      DEFAULT_EMAIL: "docker@test.com"
      DEFAULT_PASSWORD: "thisismypassword"
      APP_TIMEZONE: UTC
      RSS_FEED: 1
      TOP_NAVIGATION: 0
      DISABLE_TOP_BAR: 0
      BREADCRUMBS: 1
      SPA: 1
      DISABLE_AUTH: 1
      THEME_COLOR: Stone
      APP_URL: "http://localhost:8080"

Choose "Web Editor" option and paste the content of the file

Available OptionsAvailable Options

Change the values of the environment variable to anything you want.

WARNING

Please refer to Environments to get a list of available options.

Deploy the Stack.

Go To "Containers" and you should be able to find the following

Available Options

WARNING

you won't see mysql image if you choose sqlite

TIP

The website will be available on port 8080 by default.

The default user username docker@test.com

The default password thisismypassword