Env
The Env file contains the environment variables for the individual containers and is the most important file for starting FlyingFish.
After installation, save the file well and remove it from the system if the system is not owned by only one user.
# DB
## MARIADB
MARIADB_ROOT_USERNAME=root
MARIADB_ROOT_PASSWORD=mypassword
MARIADB_DATABASE=flyingfish
## INFLUXDB
INFLUXDB_URL=http://10.103.0.5:8086
INFLUXDB_USERNAME=flyingfish
INFLUXDB_PASSWORD=mypassword
INFLUXDB_ORG=flyingfish
INFLUXDB_BUCKET=flyingfish
INFLUXDB_RETENTION=4w
INFLUXDB_ADMIN_TOKEN=mylongtoken
## REDIS
REDIS_URL='redis://10.103.0.7:6379'
REDIS_SAVE='20 1'
REDIS_LOGLEVEL=warning
REDIS_REQUIREPASS=mylongredispassword
REDIS_MAX_MEMORY='50mb'
# HTTP Server
HTTPSERVER_PORT=3000
# Logging
LOGGING_LEVEL=silly
# Service
## HIMHIP
HIMHIP_USE=1
HIMHIP_SECRET=secredtkeys
## Dyn Dns Server
DYNDNSSERVER_ENABLE=1
MARIADB_ROOT_USERNAME
The main user of mariadb, by default root
is used.
MARIADB_ROOT_PASSWORD
The password user of MariaDB, enter a sufficiently secure one here.
MARIADB_DATABASE
Default database name is flyingfish
.
INFLUXDB_URL
Address to influxdb, this can be a separate installation. With the standard installation, the address is http://10.103.0.5:8086
INFLUXDB_USERNAME
InfluxDB username.
INFLUXDB_PASSWORD
The password user of influxdb, enter a sufficiently secure one here.
INFLUXDB_ORG
An Influxdb organisation name.
INFLUXDB_BUCKET
An InfluxDB bucket name.
INFLUXDB_RETENTION
As for how long the data should be kept in the bucket, I recommend 4 weeks (4w).
INFLUXDB_ADMIN_TOKEN
The InfluxDB admin token for the communication, enter a sufficiently secure token (char/number chain).
HTTPSERVER_PORT
Intern HTTPS FlyingFish web interface listen port. Default is port 3000
.
REDIS_SAVE
Setting how a snapshot is saved from memory to the hard drive, default 20 1.
REDIS_LOGLEVEL
Level name for logging, default is warning.
REDIS_REQUIREPASS
The password for the queries, enter a sufficiently secure one here.
REDIS_MAX_MEMORY
What is the maximum amount of RAM the Redis can use, default is 50mb.
LOGGING_LEVEL
Which logging to use:
error
: Write Log with all Errorwarn
: Write Log with all Error and Warningsinfo
: Write Log with all Error and Warnings and informationsilly
: Write Log with all lots of prints by application
Current standard is silly
.
HIMHIP_USE
Enables the use of the service how is my host IP.
1
enable0
disable
Standard is enabled.
HIMHIP_SECRET
The secret so that the service can communicate with the FlyingFish backend. Choose a 10-15 character string with characters and numbers for the secret.
DYNDNSSERVER_ENABLE
Activates the DynDns-Server in FlyingFish. Default is deactivated.
1
enable0
disable
Last updated