-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration ‐ Core
The Core module is the foundation of Binacle.Net, providing essential API functionality, as detailed in the About the API page. It also supports customizable presets and includes Swagger UI, which is disabled by default.
All configuration files for Binacle.Net Core are located in the /app/Config_Files directory.
app
└── Config_Files
└── Presets.json
Binacle.Net allows you to predefine bin configurations using presets, so you don’t have to send them with each request.
visit the Presets page for more details.
Swagger UI provides an interactive interface for exploring and testing the API.
By default, it is disabled. To enable it, set the environment variable:
SWAGGER_UI=True
By default, Binacle.Net runs on port 8080.
To change this inside a container, set the ASPNETCORE_HTTP_PORTS environment variable.
Example: Run on port 80 inside the container
docker run --name binacle-net \
-e ASPNETCORE_HTTP_PORTS=80 \
-e SWAGGER_UI=True \
-p 8080:80 \
binacle/binacle-net:latest