FlyingFish
FlyingFish on GitHub
  • FlyingFish
    • About the project
    • Screenshots
    • Installation
      • Quick Setup
      • Quick Update
      • Create Backup
      • Long setup
        • Env
        • Docker compose
          • Ports
          • Network
      • Storage management
      • FAQ
    • Configurations
      • Which user type am I
      • Listen
        • Port forwarding
        • Proxy protocol
        • IP Access
        • Gateway identifiers
        • UPnP Nat
      • Domains
        • DynDns Clients
        • Own DNS Server
        • Discussions Subdomains
        • DynDns Server
      • Routes
    • Examples
      • SSH hidden on HTTPS
      • FlyingFish to other reverse proxy
      • Backup Server, SSH to Nas
      • Own DynDNS Server - Fritzbox
      • Inventree - Route
    • Developer
      • Ideas, requests and bugs
      • Project structure
        • Under the hood
        • Service structure
        • Schema
        • Object name rules
      • Image build
      • Plugins
    • Contribution
Powered by GitBook
On this page
Edit on GitHub
  1. FlyingFish
  2. Installation
  3. Long setup

Env

The Env file contains the environment variables for the individual containers and is the most important file for starting FlyingFish.

PreviousLong setupNextDocker compose

Last updated 3 months ago

After installation, save the file well and remove it from the system if the system is not owned by only one user.

Env-Name
Description

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 Error

  • warn: Write Log with all Error and Warnings

  • info: Write Log with all Error and Warnings and information

  • silly: 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 enable

  • 0 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 enable

  • 0 disable

https://github.com/stefanwerfling/flyingfish/blob/main/setup/.env
# 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