A docker compose setup for easy spacebar server deployment
- JavaScript 55.6%
- Dockerfile 30.2%
- HTML 8.1%
- Shell 6.1%
| caddy | ||
| client | ||
| server | ||
| .editorconfig | ||
| .env.example | ||
| .gitignore | ||
| docker-compose.override.yml.example | ||
| docker-compose.yml | ||
| LICENSE | ||
| README.md | ||
spacebar docker
An easy-to-use full spacebar server and Fermi client setup for self-hosting.
How to use
I recommend you use two different domains - one for the spacebar server and one for the client.
- Clone this repository
- Copy
.env.exampleto.envand configure environment variables - Copy
docker-compose.override.yml.exampletodocker-compose.override.ymland configure the exposed ports - Run
mkdir -p {client,server}-data && docker compose up -dto start everything
After the last command has finished executing, the client should be accessible
at 127.0.0.1:4265, or whatever you have configured in docker-compose.override.yml.
Enter the instance url http://127.0.0.1:4264/ (or whatever you have configured) in the client to access your spacebar server.
I recommend you use a webserver (e.g. Caddy) to expose the server and the client with a proper SSL certificate via reverse proxying.