diff --git a/blueprints/anytype/docker-compose.yml b/blueprints/anytype/docker-compose.yml index 5d516cb6..5f3f70ce 100644 --- a/blueprints/anytype/docker-compose.yml +++ b/blueprints/anytype/docker-compose.yml @@ -13,7 +13,7 @@ services: - "33010:33010" - "33020:33020/udp" volumes: - - ./data:/data + - ../files/anytype-data:/data environment: # Advertise addresses clients should use. Replace with your server hostname/IP. ANY_SYNC_BUNDLE_INIT_EXTERNAL_ADDRS: "192.168.100.9" diff --git a/blueprints/typebot/docker-compose.yml b/blueprints/typebot/docker-compose.yml index 7881bd8f..3c62b865 100644 --- a/blueprints/typebot/docker-compose.yml +++ b/blueprints/typebot/docker-compose.yml @@ -27,6 +27,7 @@ services: NEXT_PUBLIC_VIEWER_URL: '${NEXT_PUBLIC_VIEWER_URL}' ADMIN_EMAIL: '${ADMIN_EMAIL}' SMTP_HOST: '${SMTP_HOST}' + SMTP_PORT: ${SMTP_PORT} NEXT_PUBLIC_SMTP_FROM: '${NEXT_PUBLIC_SMTP_FROM}' SMTP_USERNAME: '${SMTP_USERNAME}' SMTP_PASSWORD: '${SMTP_PASSWORD}' @@ -42,7 +43,8 @@ services: NEXT_PUBLIC_VIEWER_URL: '${NEXT_PUBLIC_VIEWER_URL}' ADMIN_EMAIL: '${ADMIN_EMAIL}' SMTP_HOST: '${SMTP_HOST}' + SMTP_PORT: ${SMTP_PORT} NEXT_PUBLIC_SMTP_FROM: '${NEXT_PUBLIC_SMTP_FROM}' SMTP_USERNAME: '${SMTP_USERNAME}' SMTP_PASSWORD: '${SMTP_PASSWORD}' - DEFAULT_WORKSPACE_PLAN: '${DEFAULT_WORKSPACE_PLAN}' \ No newline at end of file + DEFAULT_WORKSPACE_PLAN: '${DEFAULT_WORKSPACE_PLAN}' diff --git a/blueprints/velix-api/docker-compose.yml b/blueprints/velix-api/docker-compose.yml new file mode 100644 index 00000000..f4945ebf --- /dev/null +++ b/blueprints/velix-api/docker-compose.yml @@ -0,0 +1,43 @@ +version: "3.8" + +services: + velix-api: + image: ghcr.io/paulolinder/velix-api:0.1.0 + restart: always + environment: + - DATABASE_URL=postgres://postgres:${DB_PASSWORD}@postgres:5432/velix?sslmode=disable + - REDIS_URL=redis://redis:6379 + - JWT_SECRET=${JWT_SECRET} + - HTTP_PORT=8080 + - APP_ENV=production + - LOG_LEVEL=info + - MEDIA_STORAGE_PATH=/data/media + - ENGINE_STORE_PATH=/data/instances + - ENGINE_AUTO_RECONNECT=true + - ENGINE_MAX_INSTANCES=200 + - REGISTRATION_ENABLED=false + volumes: + - velix-data:/data + depends_on: + - postgres + - redis + + postgres: + image: postgres:16-alpine + restart: always + environment: + - POSTGRES_DB=velix + - POSTGRES_PASSWORD=${DB_PASSWORD} + volumes: + - postgres-data:/var/lib/postgresql/data + + redis: + image: redis:7-alpine + restart: always + volumes: + - redis-data:/data + +volumes: + velix-data: + postgres-data: + redis-data: diff --git a/blueprints/velix-api/meta.json b/blueprints/velix-api/meta.json new file mode 100644 index 00000000..f5a835d7 --- /dev/null +++ b/blueprints/velix-api/meta.json @@ -0,0 +1,19 @@ +{ + "id": "velix-api", + "name": "Velix API", + "version": "0.1.0", + "description": "Self-hosted WhatsApp API with multi-instance support, webhooks, n8n node, and Chatwoot integration.", + "logo": "velix-api.svg", + "links": { + "github": "https://github.com/paulolinder/velix-api", + "website": "https://velix.dev", + "docs": "https://github.com/paulolinder/velix-api#readme" + }, + "tags": [ + "whatsapp", + "api", + "messaging", + "chatbot", + "automation" + ] +} diff --git a/blueprints/velix-api/template.toml b/blueprints/velix-api/template.toml new file mode 100644 index 00000000..18baf574 --- /dev/null +++ b/blueprints/velix-api/template.toml @@ -0,0 +1,16 @@ +[variables] +main_domain = "${domain}" +DB_PASSWORD = "${password:32}" +JWT_SECRET = "${password:64}" + +[config] +env = [ + "DB_PASSWORD=${DB_PASSWORD}", + "JWT_SECRET=${JWT_SECRET}", +] +mounts = [] + +[[config.domains]] +serviceName = "velix-api" +port = 8080 +host = "${main_domain}" diff --git a/blueprints/velix-api/velix-api.svg b/blueprints/velix-api/velix-api.svg new file mode 100644 index 00000000..86da1f98 --- /dev/null +++ b/blueprints/velix-api/velix-api.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + +