Incognito
Incognito
Access the world wide web! Incognito is a dynamic web proxy service stylized as a search engine.
Setup
Deployment
Terminal
Prerequisites:
- Node & npm
- Git
- Clone the repo:
- Install all of the dependencies:
- Create a .env file
- Modify the .env file to you liking (docs here)
- Build the frontend:
- Start the server
You can run
npm run bstart
to build and start together
Games
- By default, games are reverse proxied by the server
- Game assets are located here
- To turn off Games, and access to them see #environment
Docker
- There are two ways to deploy with docker:
Normal Docker
Prerequisites:
- Git
- Docker
- Clone the repo (skip if using prebuilt image):
- Create an .env file (if using prebuilt image, copy the example from the repo):
- Modify the .env file to your liking (docs here)
- Build the docker image (skip if using prebuilt):
For info on the build arg check here
-
Run the docker images:
- Prebuilt:
- Image you built yourself:
Docker Compose
Prerequisites:
- Git
- Docker w/compose
- Clone the repo (skip if using prebuilt image):
- Create an .env file (if using prebuilt image, copy the example from the repo):
- Modify the .env file to your liking (docs on that here]
- Build the docker image (skip if using prebuilt):
-
Run the docker image:
- Prebuilt:
- Image you built yourself:
Environment
- There are a couple of environment variables for incognito. Most of the time, the defaults are fine, but there are instances where you may not want certain options enabled or certain things running.
Variable | Description | Default |
---|---|---|
MASQR | Enables (true )/Disables (false ) Masqr (most people don’t want this) | false |
BARE_SERVER_ENABLED | Enables (true )/Disables (false ) the integrated bare server. Use this if you already have a server (e.g., reverse proxy) or don’t want users accessing it. | true |
PORT | The port that the server listens on IGNORED IN THE DOCKER ENVIRONMENTS | 8080 |
GAMES | Disable (false )/Enable (true ) the reverse proxy for Games | true |
RAMMERHEAD_SERVER_ENABLED | Disable (false )/Enabled (true ) the integrated Rammerhead server | true |
SITE | Your websites domain (eg: https://example.com) | http://localhost:8080 |
BARE_SERVER_OPTION | Enables (true )/Disables (false ) the option to use a bare server in the frontend. THIS IS A BUILD TIME ONLY VARIABLE | true |
GAMES_LINK | Enables (true )/Disables (false ) access to the games page BUILD TIME ONLY | true |
RAMMERHEAD_OPTION | Enabled (true )/Disables (false ) the option to use Rammerhead in the frontend. BUILD TIME ONLY | true |