AFFiNE
Workspace that mixes docs, whiteboards and databases, so a page can flip between writing and an endless canvas. Edits sync to this server as you type.
Documents / Productivity / Wiki
Trip planner for working out each day of a holiday on a map, with bookings, budgets, packing lists and live editing with whoever's coming along.
It isn't in the main Portainer Templates list yet, so use this one. Portainer takes one URL at a time, so it swaps out whatever list you had before.
In Portainer, head to Settings --> App Templates, paste this in as the URL and save.
https://raw.githubusercontent.com/NotAFlightRisk/portainer-templates-extras/main/templates.json http://<your-server>:8099 in a browser.Save this as compose.yml, then run docker compose up -d next to it.
services:
trek:
image: mauriceboe/trek:4
container_name: trek
restart: unless-stopped
ports:
- 8099:3000
environment:
COOKIE_SECURE: "false"
TZ: UTC
volumes:
- trek-data:/app/data
- trek-uploads:/app/uploads
volumes:
trek-data:
trek-uploads:
Or skip the file and start it with one command.
docker run -d \
--name trek \
--restart unless-stopped \
-p 8099:3000 \
-e COOKIE_SECURE=false \
-e TZ=UTC \
-v trek-data:/app/data \
-v trek-uploads:/app/uploads \
mauriceboe/trek:4 Open http://<your-host>:8099 and sign in as admin@trek.local. The password's printed in the container's logs on first start (search them for First Run), and TREK makes you pick a new one straight away. Anyone who can reach it can register their own account, so switch off Password Registration under Administration --> Settings if that's not what you want. Place search asks TREK's own places.liketrek.com as well as OpenStreetMap, add a TREK_PLACES_ENABLED=false env to keep it to OpenStreetMap. The database, its encryption key and every upload live in the two volumes. Docs: github.com/liketrek/TREK/wiki
What the Portainer form asks for. With compose they go in the environment block instead.
| Variable | What it's for | Default |
|---|---|---|
COOKIE_SECURE | Opening it over plain http? TREK only sends its login cookie over HTTPS unless this is on. Switch it off once it's behind a reverse proxy with HTTPS. One of false, true. | false |
TZ | Timezone Like Europe/London. Reminders and scheduled jobs run on it. | UTC |
Change the left side of a port if it clashes with something else on your server. The volumes are where the data lives, so keep them when you update.
| On your server | In the container |
|---|---|
8099 | 3000/tcp |
trek-data | /app/data |
trek-uploads | /app/uploads |