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

Quick Update

PreviousQuick SetupNextCreate Backup

Last updated 1 year ago

First find out what changes have been made (e.g. environment variables), you can find the changes on GitHub under releases. Always make a backup before updating. If possible, backup the whole VM, otherwise backup the config files and the .

Now go back to your FlyingFish directory. Stop and delete the docker containers.

cd /opt/flyingfish
docker compose stop
docker compose rm

Now compare the .env file with the one in GitHub to see if there are new variables, but I will point this out explicitly in the .

Delete the old docker-compose.yml and re-download it.

rm docker-compose.yml
curl https://raw.githubusercontent.com/stefanwerfling/flyingfish/main/setup/docker-compose.yml -o docker-compose.yml

Now download the new docker images and start the containers.

docker compose pull
docker compose up -d

Finally, let's clean up.

Check beforehand whether the containers are all running! Otherwise it could happen that the container is removed with an error. You can check whether the container is running with the following command:

docker ps
docker system prune --all
docker volumes
release
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