Photos and files guide

Nextcloud, from anywhere

Your files away from home, without opening a port.

About 15 minutes·Works on the free plan

You'll need

  • Nextcloud running on a machine at home
  • Docker
  • A free Seawise.io account

Step by step

Everything happens in your browser except step 1.

1

Run the Seawise.io container

Run this on the machine where Nextcloud runs. The container connects out to Seawise.io, so you don't open any ports on your router.

On Docker Desktop for Mac or Windows, replace --network host with -p 8082:8082.

your server
$ docker run -d --name seawise \
  --restart unless-stopped \
  --network host \
  -v seawise-data:/config \
  ghcr.io/seawise-io/seawise-client:latest

✓ Container started

2

Set a password

On a computer at home, open http://your-server-ip:8082 and create a password for the container's page.

Do this straight after starting the container. Whoever opens this page first sets the password.
3

Connect it to your account

Give the server a name, click Connect, and approve it in the seawise.io tab that opens. Sign up for free there if you haven't yet.

4

Add Nextcloud

Fill in the name, the address and the port Nextcloud uses (Depends on install (the Docker image serves on 80, usually mapped to 8080)), then click Add.

Which address? With --network host, use localhost. On Docker Desktop, use host.docker.internal. If Nextcloud runs on another machine, use its local IP, like 192.168.1.20.
5

Open it from anywhere

Nextcloud now shows on your Servers page at seawise.io. Click it from any browser, on any network, and you're in.

6

Share it

Go to Portals, create one (say, Family), and add Nextcloud to it. Then open its sharing settings and add the email of everyone who should get in.

Skip this step if Nextcloud is just for you.

7

What they see

Send them the portal link. They sign in with the email you added, using Google, GitHub or an email link, and tap Nextcloud. Nothing to install, on any phone, tablet or laptop.

Nextcloud settings for remote use

01

Create accounts and quotas

On the Users page, enter a login name and password and click Create. Set a default quota from the gear icon, or change one person's from the Quota dropdown.

02

Decide how public links work

In Administration settings > Sharing, choose whether to Allow users to share via link and email, and turn on Enforce password protection if you want every public link locked.

03

Turn on two-factor

Enable the Two-Factor TOTP Provider app under Apps, then require it for everyone or certain groups in Administration settings > Security.

Tell Nextcloud about your Seawise.io address

Nextcloud only answers on domains it trusts and needs to know the outside address is HTTPS. Add your address to config/config.php, keeping your existing trusted_domains entries.

config/config.php
'trusted_domains' =>
  array (
    0 => 'localhost',
    1 => '192.168.1.50',
    2 => 'your-app.seawise.dev',
  ),
'overwriteprotocol' => 'https',
'overwrite.cli.url' => 'https://your-app.seawise.dev',

If something's not working

Nextcloud shows as offline+

Seawise.io can't reach the port you entered. Run curl -I http://localhost:8080 on the server (or whatever port you mapped) and check Nextcloud answers.

Access through untrusted domain+

Your Seawise.io address isn't in trusted_domains yet. Add it to config.php as shown above and reload the page.

Login loops or links switch to http+

Nextcloud thinks it's on plain HTTP. Set overwriteprotocol to https and overwrite.cli.url to your full Seawise.io address.

Logins get slow for everyone+

Brute force protection may be throttling the proxy's IP because all traffic seems to come from it. Set trusted_proxies to the IP Nextcloud sees the requests from, and check the IPs in your Nextcloud log.

Desktop and mobile sync apps fail+

Sync clients can't get past the Seawise.io browser sign-in. Make the app public on the Admin plan and Nextcloud's own login, ideally with two-factor, protects it.

Try it on your own server.

Free plan, no card needed.