diff --git a/blueprints/windshift/docker-compose.yml b/blueprints/windshift/docker-compose.yml new file mode 100644 index 00000000..81008518 --- /dev/null +++ b/blueprints/windshift/docker-compose.yml @@ -0,0 +1,44 @@ +version: "3.8" + +services: + windshift: + image: ghcr.io/windshiftapp/windshift:v0.5.3 + restart: unless-stopped + environment: + - BASE_URL=https://${DOMAIN} + - PORT=8080 + - USE_PROXY=true + - SSO_SECRET=${SSO_SECRET} + - ATTACHMENT_PATH=/data/attachments + - DB_TYPE=postgres + - POSTGRES_HOST=db + - POSTGRES_PORT=5432 + - POSTGRES_USER=${POSTGRES_USER} + - POSTGRES_PASSWORD=${POSTGRES_PASSWORD} + - POSTGRES_DB=${POSTGRES_DB} + - LOG_LEVEL=info + - LOG_FORMAT=json + volumes: + - windshift-data:/data + depends_on: + db: + condition: service_healthy + + db: + image: postgres:17.4 + restart: unless-stopped + environment: + - POSTGRES_USER=${POSTGRES_USER} + - POSTGRES_PASSWORD=${POSTGRES_PASSWORD} + - POSTGRES_DB=${POSTGRES_DB} + volumes: + - postgres-data:/var/lib/postgresql/data + healthcheck: + test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"] + interval: 5s + timeout: 5s + retries: 5 + +volumes: + windshift-data: {} + postgres-data: {} diff --git a/blueprints/windshift/template.toml b/blueprints/windshift/template.toml new file mode 100644 index 00000000..e1e4cb02 --- /dev/null +++ b/blueprints/windshift/template.toml @@ -0,0 +1,19 @@ +[variables] +main_domain = "${domain}" +sso_secret = "${hash:64}" +db_password = "${password:32}" + +[config] +env = [ + "DOMAIN=${main_domain}", + "SSO_SECRET=${sso_secret}", + "POSTGRES_USER=windshift", + "POSTGRES_PASSWORD=${db_password}", + "POSTGRES_DB=windshift", +] +mounts = [] + +[[config.domains]] +serviceName = "windshift" +port = 8080 +host = "${main_domain}" diff --git a/blueprints/windshift/windshift.png b/blueprints/windshift/windshift.png new file mode 100644 index 00000000..0ef1bee6 Binary files /dev/null and b/blueprints/windshift/windshift.png differ diff --git a/meta.json b/meta.json index 1cd02407..7c953c6a 100644 --- a/meta.json +++ b/meta.json @@ -7109,6 +7109,24 @@ "os" ] }, + { + "id": "windshift", + "name": "Windshift", + "version": "v0.5.0", + "description": "Self-hosted work management platform with projects, tasks, sprints, and team collaboration.", + "logo": "windshift.png", + "links": { + "github": "https://github.com/Windshiftapp/core", + "website": "https://windshift.sh/", + "docs": "https://windshift.sh/docs" + }, + "tags": [ + "project-management", + "collaboration", + "productivity", + "self-hosted" + ] + }, { "id": "wordpress", "name": "Wordpress",