Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ install the same way, with [Docker](words.md#docker).
| [Troye](https://github.com/selfhostit/troye) | A private calorie and weight tracker |
| [Shoppa](https://github.com/selfhostit/shoppa) | A shared shopping list for your household |
| [Calio](https://github.com/selfhostit/calio) | One calendar for your household: plans, pet sitting and trips |
| [Reckon](https://github.com/selfhostit/reckon) | Practise the numerical reasoning tests used in job applications |

## Before you start

Expand Down
4 changes: 2 additions & 2 deletions first-steps.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ Nobody can sign themselves up, so the owner adds everyone else:
|---|---|
| Splitwiz | The setup screen asks for both people at once. That's all. |
| should-we | No accounts. Start a decision, tap **Share** and send the link. |
| Flowy, Troye, Shoppa, Calio | Open the admin page, the app's address with `/_/` at the end, and sign in as the owner. Then **users** > **New record**: their email, a password and the role `member`. Send them the address and the password. |
| Flowy, Troye, Shoppa, Calio, Reckon | Open the admin page, the app's address with `/_/` at the end, and sign in as the owner. Then **users** > **New record**: their email, a password and the role `member`. Send them the address and the password. |

Each person only sees their own data in Flowy and Troye. In Shoppa and Calio the household
Each person only sees their own data in Flowy, Troye and Reckon. In Shoppa and Calio the household
shares one list and one calendar.

## 3. Put it on your phones
Expand Down
10 changes: 8 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
# per app), TZ, and TS_AUTHKEY (a Tailscale auth key, to sign in without the link).
set -eu

apps="splitwiz should-we flowy troye shoppa calio"
apps="splitwiz should-we flowy troye shoppa calio reckon"

# name, port, what it does
info() {
Expand All @@ -35,6 +35,7 @@ info() {
troye) echo "8093|A private calorie and weight tracker" ;;
shoppa) echo "8094|A shared shopping list for your household" ;;
calio) echo "8095|One calendar for your household: plans, pet sitting, trips" ;;
reckon) echo "8096|Practice for the numbers tests in job applications" ;;
*) return 1 ;;
esac
}
Expand Down Expand Up @@ -95,6 +96,11 @@ pins() {
calio v0.1.6 deploy/tailscale-serve.json e8340fb636e47ddd1c3bd6709d39303d32ab9aa2eecb9e9ca35ac3b82af102c9
calio v0.1.6 deploy/tailscale-feed-serve.json 64d154aae85ca2e9fe9a462446d9643459313adbabcc754b807ab1a1a4f2d7b2
calio v0.1.6 deploy/.env.example 1cf7b922f98d60ce8720b6d9801b9c96f07f942ebc026d7ca2c061289d9ad398
reckon v0.1.1 deploy/install.sh 09f2ffaff5556b05d992883ab4705490a265ede21c2ce548c586a350986c06ac
reckon v0.1.1 deploy/docker-compose.yml 19e086efc207d0f92344a4a97671a9ef4173867466c4b180cd3b9ee4fd990734
reckon v0.1.1 deploy/docker-compose.tailscale.yml 0e9f875b82f7bb5a11f575c6a579bca7d5bedd340fefdab9addc6854ca191517
reckon v0.1.1 deploy/tailscale-serve.json e8340fb636e47ddd1c3bd6709d39303d32ab9aa2eecb9e9ca35ac3b82af102c9
reckon v0.1.1 deploy/.env.example fe4d41bfaeea04bc4f2f9f377abc4af78672f5ae73020ea28b8150841038a514
# pins end
EOF
}
Expand Down Expand Up @@ -238,7 +244,7 @@ fi
# --- Install ------------------------------------------------------------------

# Each app's files are downloaded into a scratch folder and checked first (fetch_app).
# The plasto-based apps (Flowy, Troye, Shoppa, Calio) come with deploy/install.sh, which takes
# The plasto-based apps (Flowy, Troye, Shoppa, Calio, Reckon) come with deploy/install.sh, which takes
# the folder as its argument and PORT for a new install (or the next free port
# when that one is taken; Splitwiz's installer does the same). Run from the scratch
# folder, they use the checked files next to them. An empty TS_AUTHKEY skips their
Expand Down
2 changes: 1 addition & 1 deletion linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ curl -fsSL https://github.com/selfhostit/docs/releases/latest/download/install.s
## Good to know

- **[Ports](words.md#port):** Splitwiz 8090, should-we 8091, Flowy 8092, Troye 8093, Shoppa 8094,
Calio 8095. If another program already has one of these when an app is first installed,
Calio 8095, Reckon 8096. If another program already has one of these when an app is first installed,
that app gets the next free port instead, and the list at the end shows it. An app keeps its port from then on. To
change one, edit the port in that app's `.env` and run the installer again.
- **Restarts:** the apps start again by themselves when the machine reboots.
Expand Down
5 changes: 3 additions & 2 deletions other-nas.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ The Compose files are in each app's repository:
[Flowy](https://github.com/selfhostit/flowy/blob/main/deploy/docker-compose.yml),
[Troye](https://github.com/selfhostit/troye/blob/main/deploy/docker-compose.yml),
[Shoppa](https://github.com/selfhostit/shoppa/blob/main/deploy/docker-compose.yml),
[Calio](https://github.com/selfhostit/calio/blob/main/deploy/docker-compose.yml).
[Calio](https://github.com/selfhostit/calio/blob/main/deploy/docker-compose.yml),
[Reckon](https://github.com/selfhostit/reckon/blob/main/deploy/docker-compose.yml).
Replace `./pb_data` with a full path on your pool, give each app its own [port](words.md#port) (Splitwiz
8090, should-we 8091, Flowy 8092, Troye 8093, Shoppa 8094, Calio 8095), and set your time zone in `TZ`.
8090, should-we 8091, Flowy 8092, Troye 8093, Shoppa 8094, Calio 8095, Reckon 8096), and set your time zone in `TZ`.

Then follow [phones](phones.md) to reach them over [HTTPS](words.md#https).
5 changes: 3 additions & 2 deletions phones.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,12 @@ To sign in without the link, for example on a machine without a browser nearby,
sudo tailscale serve --bg --https=8093 http://127.0.0.1:8093 # Troye
sudo tailscale serve --bg --https=8094 http://127.0.0.1:8094 # Shoppa
sudo tailscale serve --bg --https=8095 http://127.0.0.1:8095 # Calio
sudo tailscale serve --bg --https=8096 http://127.0.0.1:8096 # Reckon
```

`tailscale serve status` shows the addresses. They stay after a restart.

Flowy, Troye, Shoppa and Calio can also join Tailscale on their own, each with its own name such as
Flowy, Troye, Shoppa, Calio and Reckon can also join Tailscale on their own, each with its own name such as
`https://flowy.your-tailnet.ts.net`, when you install them with their own installer: see
their `docs/deploy.md`. Then each app is a separate Tailscale machine, with no port in its
address, and you share each one on its own: someone you share Flowy with can't open Calio
Expand Down Expand Up @@ -118,7 +119,7 @@ For public addresses such as `https://splitwiz.example.com`:
- **Without opening your router:** a Cloudflare Tunnel does the same from the inside.

Forward only port 443, and only to the reverse proxy. Never forward an app's own port (8090
to 8095) in your router: that serves the app over plain `http://`, so passwords cross the
to 8096) in your router: that serves the app over plain `http://`, so passwords cross the
internet unencrypted, and it skips the proxy. Turn off **UPnP** in the router too, so no
device on your network can open a port by itself.

Expand Down
1 change: 1 addition & 0 deletions security.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ It is one plain shell script with comments. What it does:
[Troye](https://github.com/selfhostit/troye/blob/main/deploy/install.sh),
[Shoppa](https://github.com/selfhostit/shoppa/blob/main/deploy/install.sh),
[Calio](https://github.com/selfhostit/calio/blob/main/deploy/install.sh),
[Reckon](https://github.com/selfhostit/reckon/blob/main/deploy/install.sh),
[Splitwiz](https://github.com/selfhostit/splitwiz/blob/main/scripts/install.sh)) or
starts the compose file ([should-we](https://github.com/selfhostit/should-we/blob/main/docker-compose.yml)).
4. If you say yes, starts one Tailscale container and gives each app an `https://` address.
Expand Down
7 changes: 4 additions & 3 deletions synology.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,12 @@ Container Manager > Project > Create, once per app:
[Flowy](https://github.com/selfhostit/flowy/blob/main/deploy/docker-compose.yml),
[Troye](https://github.com/selfhostit/troye/blob/main/deploy/docker-compose.yml),
[Shoppa](https://github.com/selfhostit/shoppa/blob/main/deploy/docker-compose.yml),
[Calio](https://github.com/selfhostit/calio/blob/main/deploy/docker-compose.yml)
[Calio](https://github.com/selfhostit/calio/blob/main/deploy/docker-compose.yml),
[Reckon](https://github.com/selfhostit/reckon/blob/main/deploy/docker-compose.yml)

In the pasted file, set the [port](words.md#port) so two apps don't share one (the number after `:-` in the
`ports:` line: Splitwiz 8090, should-we 8091, Flowy 8092, Troye 8093, Shoppa 8094, Calio
8095), and your time zone in the `TZ` line. For Flowy, Troye, Shoppa and Calio, also set `PUID` and `PGID` to your DSM user's ids
8095, Reckon 8096), and your time zone in the `TZ` line. For Flowy, Troye, Shoppa, Calio and Reckon, also set `PUID` and `PGID` to your DSM user's ids
(run `id` over SSH, or leave them at 1000 and give that user the folder).

## 3. Reach them from your phones
Expand All @@ -70,7 +71,7 @@ Two ways, both described in [phones](phones.md):
walks through it step by step; repeat the reverse proxy step for each app with its own
name, such as `flowy.<your-name>.synology.me` to port 8092.

Either way, don't [forward the apps' ports](words.md#port-forwarding) (8090 to 8095) or DSM's own ports (5000, 5001) in
Either way, don't [forward the apps' ports](words.md#port-forwarding) (8090 to 8096) or DSM's own ports (5000, 5001) in
your router, and leave DSM's **QuickConnect** off unless you use it: they put the apps or
DSM's sign-in page on the internet, where bots try passwords all day. With a public address,
forward only 443 to DSM's reverse proxy.
Expand Down
Loading