caprover / caprover

Scalable PaaS (automated Docker+nginx) - aka Heroku on Steroids
https://CapRover.com
Other
13.02k stars 831 forks source link

[Question] Can you use network_mode with CapRover #2071

Closed dann2g closed 3 months ago

dann2g commented 3 months ago

Is it possible to use network_mode from docker-compose with CapRover?

We're setting up Tailscale to restrict access to some services (as per https://tailscale.com/kb/1282/docker) but the Nginx container is unable to connect to the Tailscale container because network_mode is never set.

githubsaturn commented 3 months ago

Any property that is supported by docker swarm service is also supported by caprover.

But in this case, it looks like this property isn't supported by swarm: https://docs.docker.com/reference/cli/docker/service/create/#network