You are reading the documentation for v2.1.1, which is not the current version. It describes that release and is kept for reference. It is not updated.Go to v3.1.0 β
Core
Core is Binacle.Net itself: the API, the presets, and a few switches. It reads
one file under /app/Config_Files.
π Files
| File | Page | What it holds |
|---|---|---|
Presets.json |
π Presets | Your bin set, so a request need not carry the bins |
ποΈ Switches
Each one is an environment variable, and each is off unless you set it:
| Variable | Turns on |
|---|---|
SWAGGER_UI=True |
Swagger UI at /swagger/ - explore and call the endpoints from a browser |
SCALAR_UI=True |
Scalar UI at /scalar/ - the same, in a different reader |
ASPNETCORE_HTTP_PORTS=<port> |
The port inside the container. 8080 when unset |
To run on port 80 inside the container and still reach it on 8080:
docker run --name binacle-net \
-e ASPNETCORE_HTTP_PORTS=80 \
-e SWAGGER_UI=True \
-p 8080:80 \
binacle/binacle-net:2.1.1