Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

fix(docker): add restart: unless-stopped to self-host compose (#1274)

niceSprite0fc9641bf60c
diff --git a/docker-compose.selfhost.yml b/docker-compose.selfhost.yml
index b052a52913..c965a0b2af 100644
--- a/docker-compose.selfhost.yml
+++ b/docker-compose.selfhost.yml
@@ -21,6 +21,7 @@ services:
- "${POSTGRES_PORT:-5432}:5432"
volumes:
- pgdata:/var/lib/postgresql/data
+ restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-multica} -d ${POSTGRES_DB:-multica}"]
interval: 5s
@@ -56,6 +57,7 @@ services:
CLOUDFRONT_PRIVATE_KEY: ${CLOUDFRONT_PRIVATE_KEY:-}
COOKIE_DOMAIN: ${COOKIE_DOMAIN:-}
MULTICA_APP_URL: ${MULTICA_APP_URL:-http://localhost:3000}
+ restart: unless-stopped
frontend:
build:
@@ -71,6 +73,7 @@ services:
- "${FRONTEND_PORT:-3000}:3000"
environment:
HOSTNAME: "0.0.0.0"
+ restart: unless-stopped
volumes:
pgdata: