Sign inSign up

suspiciouslookingowl/degabut-web-builder

By suspiciouslookingowl

•Updated almost 3 years ago

A Docker image to build Degabut web client

Image
0

542

suspiciouslookingowl/degabut-web-builder repository overview

⁠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

KeyDescriptionExample
TAG*Tag of degabut-web to build1.0.0
BRANCH*Branch of degabut-web to builddevelopment

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

For degabut-web:

KeyDescriptionExample
VITE_API_URLURL to your Degabut APIhttp://example.com/api
VITE_YOUTUBE_API_URLURL to your Degabut YouTube APIhttp://example.com/api/youtube
VITE_WS_URLURL to WebSocket APIws://example.com/ws
VITE_OAUTH_URLDiscord 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

Tag summary

Content type

Image

Digest

sha256:065104e25…

Size

55.7 MB

Last updated

almost 3 years ago

docker pull suspiciouslookingowl/degabut-web-builder