mirror of
https://github.com/imputnet/cobalt.git
synced 2025-07-13 08:48:26 +00:00
Add documentation for custom settings specific to download.node.ua
This commit is contained in:
parent
bf5937e336
commit
9804523881
44
web/CUSTOM_SETTINGS.md
Normal file
44
web/CUSTOM_SETTINGS.md
Normal file
@ -0,0 +1,44 @@
|
||||
# Custom Settings for download.node.ua
|
||||
|
||||
This file documents the custom settings for our Cobalt instance.
|
||||
|
||||
## Environment Variables
|
||||
|
||||
When building or running the web frontend, use these environment variables:
|
||||
|
||||
```env
|
||||
WEB_HOST=download.node.ua
|
||||
WEB_DEFAULT_API=https://download.node.ua/
|
||||
# Uncomment if you use Plausible analytics
|
||||
# WEB_PLAUSIBLE_HOST=your-plausible-host.com
|
||||
```
|
||||
|
||||
## API Configuration
|
||||
|
||||
The API settings in docker-compose.yml:
|
||||
|
||||
```yaml
|
||||
environment:
|
||||
# API URL configured to your domain
|
||||
API_URL: "https://download.node.ua/"
|
||||
|
||||
# For Collify integration
|
||||
CORS_WILDCARD: "0"
|
||||
CORS_URL: "https://download.node.ua"
|
||||
```
|
||||
|
||||
## Cookie Configuration
|
||||
|
||||
We're using a helper container to provide the cookies:
|
||||
|
||||
```yaml
|
||||
cookie-helper:
|
||||
build: ./cookie-helper
|
||||
container_name: cobalt-cookie-helper
|
||||
volumes:
|
||||
- cookie-data:/cookies
|
||||
|
||||
# In the API container:
|
||||
volumes:
|
||||
- cookie-data:/cookies:ro
|
||||
```
|
Loading…
Reference in New Issue
Block a user