Mobile on the FlyEncrypted cloud relay

← Downloads · All guides

Install Mobile on the Fly: Docker (Asustor, TerraMaster, UGREEN…)

For Asustor, TerraMaster and UGREEN NAS, and any NAS or server that runs Docker: Mobile on the Fly automatically stores the photos and videos from the phones there, over the local network, without going through the Internet. Allow 15 minutes.

Do you have a Synology or a QNAP? Use their package instead (Synology guide, QNAP guide): it fits better into the NAS.

1. Before you start

A single image works for all NAS (Intel, AMD, ARM 64-bit and 32-bit): Docker picks the right one by itself. It is downloaded from our server: mobileonthefly.com/photorelay.

2. Install the container

The easiest way is a project (also called a stack or Compose) with the file below. Only one line needs changing: the photos folder, to the left of the colon.

services:
  photorelay:
    image: mobileonthefly.com/photorelay:latest
    container_name: photorelay
    network_mode: host
    restart: unless-stopped
    environment:
      TZ: Europe/Paris
    volumes:
      - /volume1/Photos:/photos
      - photorelay-data:/data
volumes:
  photorelay-data:

This file can also be downloaded from the Downloads page (compose.yaml).

Portainer (Asustor, and most NAS)

  1. Open Portainer › the local environment › Stacks › Add stack.
  2. Name: photorelay. Choose Web editor and paste the file above (with your folder).
  3. Click Deploy the stack. Portainer downloads the image and starts the container.

TerraMaster (Docker Manager) and UGREEN (Docker)

  1. Open the Docker app › Project (or Compose) › Create.
  2. Name: photorelay; project location: a folder on the NAS (for example docker/photorelay).
  3. Paste the file above (with your folder), then Create / Deploy. The app downloads the image and starts the container.

From the command line (SSH)

docker run -d --name photorelay --network host --restart unless-stopped \
  -e TZ=Europe/Paris -v /volume1/Photos:/photos -v photorelay-data:/data \
  mobileonthefly.com/photorelay

3. First start: create the profile

  1. In a browser, open https://<NAS address>:47822 (for example https://192.168.1.50:47822).
  2. The browser warns that the connection "is not private": this is Mobile on the Fly's own certificate, the connection really is encrypted. Chrome, Edge: Advanced › Continue to …; Firefox: Advanced… › Accept the Risk and Continue; Safari: Show Details › visit this website.
  3. Page "First start on this NAS": profile name, password (at least 8 characters) twice, Create the profile.
  4. Wait a few seconds, Sign in with this password. The photos will go to the folder mounted on /photos.
Creating the first profile
First start: profile name and settings password.

Write this password down and bookmark the address: it is the Mobile on the Fly settings page.

4. Link the phone (pairing)

  1. In the settings, Pair a device (top right): a QR code appears.
  2. On the phone (Android guide), Mobile on the Fly app › Scan the QR code, check the device name, point at the QR code.
  3. The phone shows "Paired with …". A new QR code for each phone.
Pairing page
The QR code can only be used once and for 10 minutes.

5. Check that everything works

  1. Take a photo with the phone connected to the Wi-Fi, then Send now: Delivered goes up by 1.
  2. In the NAS's file manager: <your folder>/Mobile on the Fly/<phone>/Camera/2026/2026-11-09/; earlier installations: PhotoRelay folder.

6. Useful settings

7. Common problems and solutions

"Mobile on the Fly is not set up on this NAS yet." (no creation form)

The profile can only be created within the hour after the container starts. Restart the photorelay container in the Docker app (or docker restart photorelay), then reopen the page within the hour.

The https://…:47822 page does not open
  1. Is the container started? In the Docker app, status Running; otherwise start it and look at its log (Logs).
  2. Is the network mode really host? Without it, neither the page nor the phones can reach Mobile on the Fly.
  3. Is the NAS firewall enabled? Allow TCP ports 47820 and 47822, and UDP 5353, from the local network.
  4. Make sure you type https:// and the port :47822.
"pull access denied" or image not found

Check the exact image name: mobileonthefly.com/photorelay:latest, and that the NAS has access to the Internet (and to this site) during the installation.

"choose a folder in /photos"

The container only sees the folder mounted on /photos. To change it, edit the project's volume and redeploy it.

The phone says "computer not found"

Phone on the home Wi-Fi, container started in host network mode, ports open in the NAS firewall; "client isolation" option on the Wi-Fi access point and VPN on the phone turned off.

The folder dates are off

Set the TZ variable to your time zone, then recreate the container.

I forgot the settings password

On the sign-in page, click Forgot your password?. With the NAS file manager, create a folder named photorelay-reset in your photos folder (the one mounted on /photos), come back to the page within the hour and click Reload: choose the new password. Photos and paired devices do not change; the photorelay-reset folder is removed automatically.

8. Updates

Mobile on the Fly updates itself inside the container (signed and verified update), without downloading the image again. If you recreate the container, it uses the latest image: nothing is lost as long as the photorelay-data volume is kept.

9. Uninstall

Stop and delete the project (or the photorelay container) in the Docker app, then the mobileonthefly.com/photorelay image. The photorelay-data volume keeps the settings and keys: delete it too to erase everything. The photos stay in your folder.

10. Still stuck? Contact support

Write to support@unveiltech.com and include: