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. Developer

Image build

ENV

For the development environment, the docker-compose file needs an .env file:

# DB
## MARIADB
MARIADB_ROOT_USERNAME=root
MARIADB_ROOT_PASSWORD=<db password>
MARIADB_DATABASE=flyingfish

## INFLUXDB
INFLUXDB_URL=http://10.103.0.5:8086
INFLUXDB_USERNAME=flyingfish
INFLUXDB_PASSWORD=<user password influxdb>
INFLUXDB_ORG=flyingfish
INFLUXDB_BUCKET=flyingfish
INFLUXDB_RETENTION=4w
INFLUXDB_ADMIN_TOKEN=<a token>

# HTTP Server
HTTPSERVER_PORT=3000

# Logging
LOGGING_LEVEL=silly

# Service
## HIMHIP
HIMHIP_USE=1
HIMHIP_SECRET=<himhip secret>

## Dyn dns server
DYNDNSSERVER_ENABLE=1

NPM-Registry

The latest (v1.1.12) version can be used to specify the npm registry to build the software in the image. With this information you can specify your own package manager server. This can save traffic or specifically check dependencies.

So that docker knows the registry URL when building the image, simply specify the argument.

# NPM Registry
NPM_REGISTRY=https://<domain>/repository/<repository name>/

PreviousObject name rulesNextPlugins

Last updated 1 year ago

The .env from the can also be used as a good example.

For the developers , specify the following in the .env file:

For example, for this URL I used Nexus' packet management:

quick setup
docker-compose-file
https://www.sonatype.com/products/sonatype-nexus-repository