initial invoice ninja addition

This commit is contained in:
SelfhostedPro 2020-06-10 09:24:08 -07:00
parent 62a2d84075
commit 216d62a1a2
3 changed files with 85 additions and 3 deletions

View File

@ -0,0 +1,35 @@
---
version: "2"
services:
invoice-ninja:
image: invoiceninja/invoiceninja:alpine-4
container_name: invoice-ninja
environment:
- APP_URL=${URL}
- APP_KEY=${APP_KEY}
- MULTI_DB_ENABLED=false
- DB_TYPE=mysql
- DB_HOST1=ninja_db
- DB_DATABASE=ninja_db
- DB_USERNAME=invoice_ninja
- DB_PASSWORD=${DATABASE_PASSWORD}
volumes:
- /portainer/Files/AppData/Config/Invoice-Ninja/public:/var/app/public
- /portainer/Files/AppData/Config/Invoice-Ninja/storage:/var/app/storage
ports:
- ${PORT}:80
restart: unless-stopped
depends_on:
- ninja_db
ninja_db:
image: linuxserver/mariadb
container_name: ninja_db
environment:
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
- TZ=${TZ}
- MYSQL_DATABASE=ninja_db
- MYSQL_USER=invoice_ninja
- MYSQL_PASSWORD=${DATABASE_PASSWORD}
volumes:
- /portainer/Files/AppData/Config/Invoice-Ninja/DB:/config
restart: unless-stopped

View File

@ -1,7 +1,7 @@
---
version: "2"
services:
bookstack:
nextcloud:
image: linuxserver/nextcloud
container_name: nextcloud
environment:
@ -9,7 +9,7 @@ services:
- PGID=${PGID}
- TZ=${TZ}
volumes:
- /srv/dev-disk-by-label-media/Files/AppData/Config/Nextcloud/Config:/config
- /portainer/Files/AppData/Config/Nextcloud/Config:/config
ports:
- ${PORT}:443
restart: unless-stopped
@ -27,5 +27,5 @@ services:
- MYSQL_USER=nextcloud
- MYSQL_PASSWORD=${DATABASE_PASSWORD}
volumes:
- /srv/dev-disk-by-label-media/Files/AppData/Config/Nextcloud/DB:/config
- /portainer/AppData/Config/Nextcloud/DB:/config
restart: unless-stopped

View File

@ -1266,6 +1266,53 @@
}
]
},
{
"type": 3,
"title": "Invoice Ninja",
"name": "invoice_ninja",
"description": "Invoices, Expenses and Tasks built with Laravel and Flutter.",
"logo": "https://raw.githubusercontent.com/SelfhostedPro/selfhosted_templates/master/Images/invoice_ninja.png",
"categories": [
"Cloud",
"Productivity",
"Tools",
"Other",
"Web"
],
"note": "The database user is invoice_ninja and the database is ninja_db. Please generate an app key following the documentation <a href='https://github.com/invoiceninja/dockerfiles'>here</a>. ",
"platform": "linux",
"repository": {
"url": "https://github.com/SelfhostedPro/selfhosted_templates",
"stackfile": "Template/Stack/invoice-ninja.yml"
},
"env": [
{
"name": "URL",
"label": "URL",
"default": "invoice.my.domain"
},
{
"name": "APP_KEY",
"label": "APP_KEY"
},
{
"name": "TZ",
"label": "TZ"
},
{
"name": "DATABASE_PASSWORD",
"label": "DATABASE_PASSWORD"
},
{
"name": "MYSQL_ROOT_PASSWORD",
"label": "MYSQL_ROOT_PASSWORD"
},
{
"name": "PORT",
"label": "PORT"
}
]
},
{
"type": 1,
"title": "Jackett",