Skip to content

⭐️⭐️⭐️ Open-source, self-hosted alternative to Linear and Plane. Project management and issue tracking where teams and AI agents work side by side to plan and ship products.

fix(coolify): expose service ports instead of publishing to host (#13)

Croffb7cd02b11f46
diff --git a/.prettierignore b/.prettierignore
index 5d4f59a0..bdf10e19 100644
--- a/.prettierignore
+++ b/.prettierignore
@@ -3,6 +3,9 @@
# Lockfile
bun.lock
+# Markdown docs (incl. release-please CHANGELOG.md)
+*.md
+
# Generated Drizzle migrations and snapshots
packages/db/drizzle
diff --git a/docker-compose.coolify.yml b/docker-compose.coolify.yml
index c1e29136..cc8d61a2 100644
--- a/docker-compose.coolify.yml
+++ b/docker-compose.coolify.yml
@@ -89,8 +89,11 @@ services:
S3_ACCESS_KEY_ID: ${SERVICE_USER_MINIO}
S3_SECRET_ACCESS_KEY: ${SERVICE_PASSWORD_MINIO}
S3_REGION: ${S3_REGION:-us-east-1}
- ports:
- - '${API_PORT:-3000}:3000'
+ # Coolify routes to the container through its proxy by the SERVICE_URL_API
+ # domain; the port is exposed to the internal network, not published on the
+ # host. Publishing a fixed host port conflicts and cannot be remapped in the UI.
+ expose:
+ - '3000'
# Background worker for webhook delivery, agent schedules, and autonomous agent
# runs. Shares the database with the api. No public ports.
@@ -157,8 +160,10 @@ services:
NODE_ENV: production
PORT: 3001
HOSTNAME: 0.0.0.0
- ports:
- - '${WEB_PORT:-3001}:3001'
+ # Same as api: Coolify routes by the SERVICE_URL_WEB domain, so the port is
+ # only exposed internally, not published on the host.
+ expose:
+ - '3001'
volumes:
postgres-data: