diff --git a/blueprints/inkvoice/docker-compose.yml b/blueprints/inkvoice/docker-compose.yml new file mode 100644 index 00000000..bd275006 --- /dev/null +++ b/blueprints/inkvoice/docker-compose.yml @@ -0,0 +1,22 @@ +version: "3.8" +services: + inkvoice: + image: ghcr.io/pigontech/inkvoice:0.1.0 + restart: unless-stopped + environment: + - ADMIN_USER=${ADMIN_USER} + - ADMIN_PASS=${ADMIN_PASS} + - JWT_SECRET=${JWT_SECRET} + - DATABASE_PATH=/app/data/invoice.db + - PORT=3000 + - HOST=0.0.0.0 + # Dokploy's auto-generated domain is HTTP (sslip.io); keep false so login + # works out of the box. Set true once you attach an HTTPS custom domain. + - COOKIE_SECURE=false + volumes: + - inkvoice-data:/app/data + expose: + - 3000 + +volumes: + inkvoice-data: diff --git a/blueprints/inkvoice/inkvoice.svg b/blueprints/inkvoice/inkvoice.svg new file mode 100644 index 00000000..788f0558 --- /dev/null +++ b/blueprints/inkvoice/inkvoice.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/blueprints/inkvoice/template.toml b/blueprints/inkvoice/template.toml new file mode 100644 index 00000000..0ce2dafc --- /dev/null +++ b/blueprints/inkvoice/template.toml @@ -0,0 +1,17 @@ +[variables] +main_domain = "${domain}" +admin_user = "admin" +admin_pass = "${password:16}" +jwt_secret = "${password:48}" + +[config] +env = [ + "ADMIN_USER=${admin_user}", + "ADMIN_PASS=${admin_pass}", + "JWT_SECRET=${jwt_secret}", +] + +[[config.domains]] +serviceName = "inkvoice" +port = 3000 +host = "${main_domain}" diff --git a/meta.json b/meta.json index baac068c..b7600cb4 100644 --- a/meta.json +++ b/meta.json @@ -3261,6 +3261,24 @@ "database" ] }, + { + "id": "inkvoice", + "name": "Inkvoice", + "version": "0.1.0", + "description": "Open-source invoicing for freelancers and small teams: invoices, online payments (Stripe & PayPal), expenses, multi-currency and reports.", + "logo": "inkvoice.svg", + "links": { + "github": "https://github.com/pigontech/inkvoice", + "website": "https://inkvoice.app", + "docs": "https://docs.inkvoice.app" + }, + "tags": [ + "invoicing", + "billing", + "finance", + "self-hosted" + ] + }, { "id": "inngest", "name": "Inngest",