Sign inSign up

tibynx/brave

By tibynx

Updated 16 days ago

🦁 Web accessible Brave browser using KasmVNC

Image
Networking
Internet of things
Developer tools
1

2.2K

tibynx/brave repository overview

🦁 Brave

This container allows you to use the Brave web browser trough another web browser using KasmVNC. Brave is a fast, private and secure web browser for PC, Mac and mobile.

brave

Setup

To set up the container, you can use docker-compose or the docker cli. Unless a parameter is flagged as 'optional', it is mandatory and a value must be provided. This container is using a linuxserver.io base, so you can use their mods and configurations to enable additional functionality within the container.

---
services:
  brave:
    image: tibynx/brave:latest
    container_name: brave-browser
    security_opt:
      - seccomp:unconfined #optional
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
      - BRAVE_CLI=https://www.github.com/ #optional
    volumes:
      - /path/to/config:/config
    ports:
      - 3000:3000
      - 3001:3001
    shm_size: "1gb"
    restart: unless-stopped
    hostname: brave #optional
docker-cli
docker run -d \
  --name=brave-browser \
  --security-opt seccomp=unconfined `#optional` \
  -e PUID=1000 \
  -e PGID=1000 \
  -e TZ=Etc/UTC \
  -e BRAVE_CLI=https://www.github.com/ `#optional` \
  -p 3000:3000 \
  -p 3001:3001 \
  -v /path/to/config:/config \
  --shm-size="1gb" \
  --restart unless-stopped \
  --hostname brave `#optional` \
  tibynx/brave:latest

Security

By default, this container has no authentication. Configure the optional environment variables CUSTOM_USER and PASSWORD to enable basic HTTP auth. This should only be used to locally secure the container on a local network. If you're exposing this container to the internet, it's recommended to use a reverse proxy or a VPN such as SWAG or Tailscale.

Config

Containers are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate <external>:<internal> respectively. For example, -p 8080:80 would expose port 80 from inside the container to be accessible from the host's IP on port 8080 outside the container. Further options can be found on the KasmVNC Base Images repo.

ParameterFunction
-p 3000HTTP Brave desktop gui.
-p 3001HTTPS Brave desktop gui.
-e PUID=1000For UserID
-e PGID=1000For GroupID
-e TZ=Etc/UTCSpecify a timezone to use, see this list.
-e BRAVE_CLI=https://www.github.com/Specify one or multiple Brave CLI flags, this string will be passed to the application in full.
-v /configUsers home directory in the container, stores local files and settings.
--shm-size=This is needed for any modern website to function like YouTube.
--security-opt seccomp=unconfinedFor Docker Engine only, many modern gui apps need this to function on older hosts as syscalls are unknown to Docker.
--hostname braveHostname for the container. It is advised to change this to your own if you're planning to use Brave Sync.

Updating

This image is updated monthly. To update the app, you'll need to pull the latest image and redeploy the container with your configuration. It's not recommended to update the app inside the container. Updating this way could cause issues with configurations and mods.

Usage

To access the container, navigate to the IP address for your machine with the port you provided at the setup.

Tag summary

Content type

Image

Digest

sha256:d9a794eed

Size

1 GB

Last updated

16 days ago

docker pull tibynx/brave