Thanks all for the excellent information in this post! A few things I thought might be useful for folks:
- This actually doesn’t seem to be necessary, thanks @swc-phil!
- Don’t forget
services: {}in the custom yaml box:
25.10 RC1 Custom App YAML Input Bug? - #5 by Rocketplanner83
include:
- path: /path/to/your/compose.yaml
services: {}
- Updating container images via the Apps interface is not straightforward in my experience (compared to the regular
docker compose pullanddocker compose up -dapproach). However, you can addpull_policyto each service to trigger a pull when you restart the app from the Apps interface. I have tested and confirmed thatpull_policy: alwaysworks, and I currently have everything set to eitherdaily(most things) orbuild(Caddy built with the Cloudflare module, I have it commented so it doesn’t re-build on every restart, see below).
- One other thing that seems useful that I don’t see mentioned elsewhere, you can create external networks as normal, just access the shell and
sudo docker network create caddy-nextcloud-net(before you start the container for the first time). Add the network to your compose file as normal:
services:
caddy:
...
networks:
- nextcloud
# uncomment and restart via Apps interface if an update is needed
# pull_policy: build
networks:
nextcloud:
name: caddy-nextcloud-net
external: true