beautiful_orca

joined 1 day ago
[โ€“] [email protected] 1 points 8 hours ago

The manual istall now seems too cluttered for me, aswell as the caddy webserver configuration. The AIO probably has an more up to date configuration which is vetted by the community.

I will try to configure the AIO version how i like it, but still apply what i have learned connecting tailscale (https://github.com/nextcloud/all-in-one/discussions/5439)

@[email protected] your example helped clarify the network and service linking, thank you.

[โ€“] [email protected] 2 points 18 hours ago* (last edited 18 hours ago) (1 children)

So that means i need to link the webserver to the tailscale service network_mode: service:tailscale

And also add the tailscale to the "proxy" network that is created (like also done in the aio example with

networks:
  - nextcloud-aio

)

 

I am currently planning to set up nextcloud as it is described in https://help.nextcloud.com/t/nextcloud-docker-compose-setup-with-caddy-2024/204846 and make it available via tailscale.

I found a tailscale reverse proxy example for the AIO Version: https://github.com/nextcloud/all-in-one/discussions/5439 which also uses caddy as reverse proxy.

It might be possible to adjust it to the nextcloud:fpm stack.

But it might also be possible to use the built in reverse proxy of the tailscale sidecar by using a TS_SERVE_CONFIG . In this json file the multiple paths (/push/* and the / root) can be configured and can redirect to the right internal dns name and port (notify_push:7867 and web:80) https://tailscale.com/blog/docker-tailscale-guide

Has anyone done that? Can someone share a complete example?