Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix(dev): proxy mount point

Andras Bacsaicf7a6eccab1b
diff --git a/bootstrap/helpers/proxy.php b/bootstrap/helpers/proxy.php
index 11f2bb728b..c93b4aadc6 100644
--- a/bootstrap/helpers/proxy.php
+++ b/bootstrap/helpers/proxy.php
@@ -202,6 +202,7 @@ function generate_default_proxy_configuration(Server $server)
$config['services']['traefik']['command'][] = '--log.level=debug';
$config['services']['traefik']['command'][] = '--accesslog.filepath=/traefik/access.log';
$config['services']['traefik']['command'][] = '--accesslog.bufferingsize=100';
+ $config['services']['traefik']['volumes'][] = "{$proxy_path}:/traefik";
// $config['services']['traefik']['volumes'][] = '/var/lib/docker/volumes/coolify_dev_coolify_data/_data/proxy/:/traefik';
} else {
$config['services']['traefik']['command'][] = '--api.insecure=false';