Skip to content

degabut/degabut-web-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Degabut Web Builder

A Docker image to build degabut-web

Docker Hub

docker pull suspiciouslookingowl/degabut-web-builder:latest

Example

Using docker

docker run --rm -v $(pwd)/dist:/var/dist -e VITE_API_URL=http://example.com/api -e VITE_YOUTUBE_API_URL=http://example.com/api/youtube -e VITE_WS_URL=ws://example.com/ws -e VITE_OAUTH_URL=https://discord.com/api/oauth2/authorize?... suspiciouslookingowl/degabut-web-builder:latest

Using compose

version: '3'
services:
  degabut-web-builder:
    image: suspiciouslookingowl/degabut-web-builder:latest
    volumes:
      - ./dist:/var/dist
    environment:
      # - TAG=...
      # - BRANCH=...
      - VITE_API_URL=http://example.com/api 
      - VITE_YOUTUBE_API_URL=http://example.com/api/youtube 
      - VITE_WS_URL=ws://example.com/ws 
      - VITE_OAUTH_URL=https://discord.com/api/oauth2/authorize?...

Environment Variables

Key Description Example
TAG* Tag of degabut-web to build 1.0.0
BRANCH* Branch of degabut-web to build development

Note TAG will be prioritized over BRANCH, if none of them are set, it will build from main branch (latest release).

For degabut-web:

Key Description Example
VITE_API_URL URL to your Degabut API http://example.com/api
VITE_YOUTUBE_API_URL URL to your Degabut YouTube API http://example.com/api/youtube
VITE_WS_URL URL to WebSocket API ws://example.com/ws
VITE_OAUTH_URL Discord OAuth URL for Authentication, more information here https://discord.com/api/oauth2/authorize?...
VITE_DEGABUT_SERVERS* Configuration for multi bots, more information here [{"name":"Degabut","apiBaseUrl":"http://example.com/api","wsUrl":"ws://example.com/ws","iconUrl":"/icons/colors/degabut-default.png"},{"name":"Redgabut","apiBaseUrl":"http://example.com/red-api","wsUrl":"ws://example.com/red-ws","iconUrl":"/icons/colors/degabut-red.png"}]

*Optional

About

Docker Image to build Degabut Web

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published