commit
22d31b003e
4 changed files with 85 additions and 3 deletions
BIN
Images/incoice_ninja.png
Normal file
BIN
Images/incoice_ninja.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
35
Template/Stack/invoice-ninja.yml
Normal file
35
Template/Stack/invoice-ninja.yml
Normal 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
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
version: "2"
|
version: "2"
|
||||||
services:
|
services:
|
||||||
bookstack:
|
nextcloud:
|
||||||
image: linuxserver/nextcloud
|
image: linuxserver/nextcloud
|
||||||
container_name: nextcloud
|
container_name: nextcloud
|
||||||
environment:
|
environment:
|
||||||
|
@ -9,7 +9,7 @@ services:
|
||||||
- PGID=${PGID}
|
- PGID=${PGID}
|
||||||
- TZ=${TZ}
|
- TZ=${TZ}
|
||||||
volumes:
|
volumes:
|
||||||
- /srv/dev-disk-by-label-media/Files/AppData/Config/Nextcloud/Config:/config
|
- /portainer/Files/AppData/Config/Nextcloud/Config:/config
|
||||||
ports:
|
ports:
|
||||||
- ${PORT}:443
|
- ${PORT}:443
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
@ -27,5 +27,5 @@ services:
|
||||||
- MYSQL_USER=nextcloud
|
- MYSQL_USER=nextcloud
|
||||||
- MYSQL_PASSWORD=${DATABASE_PASSWORD}
|
- MYSQL_PASSWORD=${DATABASE_PASSWORD}
|
||||||
volumes:
|
volumes:
|
||||||
- /srv/dev-disk-by-label-media/Files/AppData/Config/Nextcloud/DB:/config
|
- /portainer/AppData/Config/Nextcloud/DB:/config
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
|
@ -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,
|
"type": 1,
|
||||||
"title": "Jackett",
|
"title": "Jackett",
|
||||||
|
|
Loading…
Reference in a new issue