Folder Rename
This commit is contained in:
14
templates/InvoiceNinja/0/README.md
Normal file
14
templates/InvoiceNinja/0/README.md
Normal file
@@ -0,0 +1,14 @@
|
||||
# Invoice Ninja
|
||||
|
||||
[Hosted Official Website](https://www.invoiceninja.com/)
|
||||
|
||||
[Self-Hosted Official Website](https://www.invoiceninja.org/)
|
||||
|
||||
[Docker Page](https://hub.docker.com/r/invoiceninja/invoiceninja/)
|
||||
|
||||
|
||||
## From Website
|
||||
|
||||
> Free Open-Source Invoicing
|
||||
|
||||
> Expenses & time-tracking built with Laravel
|
||||
79
templates/InvoiceNinja/0/docker-compose.yml
Normal file
79
templates/InvoiceNinja/0/docker-compose.yml
Normal file
@@ -0,0 +1,79 @@
|
||||
version: '2'
|
||||
services:
|
||||
app:
|
||||
image: invoiceninja/invoiceninja
|
||||
environment:
|
||||
- APP_ENV:'production'
|
||||
- APP_DEBUG='false'
|
||||
- APP_URL='http://localhost:${WEB_PORT}'
|
||||
- APP_CIPHER='AES-256-CBC'
|
||||
- APP_KEY='${APP_KEY}'
|
||||
- DB_TYPE='mysql'
|
||||
- DB_STRICT='false'
|
||||
- DB_HOST='mysql'
|
||||
- DB_DATABASE='ninja'
|
||||
- DB_USERNAME='root'
|
||||
- DB_PASSWORD='ninjaPass'
|
||||
labels:
|
||||
io.rancher.scheduler.affinity:host_label: ${LABEL_KEY_VALUE}
|
||||
io.rancher.sidekicks: cron, web
|
||||
links:
|
||||
- db:mysql
|
||||
restart: on-failure
|
||||
volumes:
|
||||
- ${STORAGE_BASE_DIR}${LOGO_DIR}:/var/www/app/public/logo
|
||||
- ${STORAGE_BASE_DIR}${STORAGE_DIR}:/var/www/app/storage
|
||||
cron:
|
||||
image: invoiceninja/invoiceninja
|
||||
entrypoint: |
|
||||
bash -c 'bash -s <<EOF
|
||||
trap "break;exit" SIGHUP SIGINT SIGTERM
|
||||
sleep 300s
|
||||
while /bin/true; do
|
||||
./artisan ninja:send-invoices
|
||||
./artisan ninja:send-reminders
|
||||
sleep 1h
|
||||
done
|
||||
EOF'
|
||||
environment:
|
||||
- APP_ENV='production'
|
||||
- APP_DEBUG='false'
|
||||
- APP_URL='http://localhost:${WEB_PORT}'
|
||||
- APP_CIPHER='AES-256-CBC'
|
||||
- APP_KEY='${APP_KEY}'
|
||||
- DB_TYPE='mysql'
|
||||
- DB_STRICT='false'
|
||||
- DB_HOST='mysql'
|
||||
- DB_DATABASE='ninja'
|
||||
- DB_USERNAME='root'
|
||||
- DB_PASSWORD='ninjaPass'
|
||||
labels:
|
||||
io.rancher.scheduler.affinity:host_label: ${LABEL_KEY_VALUE}
|
||||
links:
|
||||
- db:mysql
|
||||
restart: on-failure
|
||||
volumes_from:
|
||||
- app
|
||||
db:
|
||||
image: mysql
|
||||
environment:
|
||||
- MYSQL_DATABASE='ninja'
|
||||
- MYSQL_ROOT_PASSWORD='ninjaPass'
|
||||
labels:
|
||||
io.rancher.scheduler.affinity:host_label: ${LABEL_KEY_VALUE}
|
||||
restart: on-failure
|
||||
volumes:
|
||||
- ${STORAGE_BASE_DIR}${DB_DIR}:/var/lib/mysql
|
||||
web:
|
||||
image: nginx
|
||||
labels:
|
||||
io.rancher.scheduler.affinity:host_label: ${LABEL_KEY_VALUE}
|
||||
links:
|
||||
- app
|
||||
ports:
|
||||
- "${WEB_PORT}:80"
|
||||
restart: on-failure
|
||||
volumes:
|
||||
- ${STORAGE_BASE_DIR}${CONFIG_DIR}/nginx.conf:/etc/nginx/nginx.conf:ro
|
||||
volumes_from:
|
||||
- app
|
||||
63
templates/InvoiceNinja/0/rancher-compose.yml
Normal file
63
templates/InvoiceNinja/0/rancher-compose.yml
Normal file
@@ -0,0 +1,63 @@
|
||||
version: '2'
|
||||
catalog:
|
||||
name: "InvoiceNinja"
|
||||
version: "latest"
|
||||
description: Invoicing
|
||||
questions:
|
||||
- variable: "LABEL_KEY_VALUE"
|
||||
label: "Host Label Key/Value Pair"
|
||||
description: |
|
||||
The Label Key/Value pair on the host which InvoiceNinja should be deployed
|
||||
default: "host.id=0000"
|
||||
required: true
|
||||
type: string
|
||||
- variable: "WEB_PORT"
|
||||
label: "Web Port"
|
||||
description: |
|
||||
The port to access the web interface on.
|
||||
default: "8000"
|
||||
required: true
|
||||
type: string
|
||||
- variable: "STORAGE_BASE_DIR"
|
||||
label: "Base Storage Directory"
|
||||
description: |
|
||||
The base path of where persistent storage should be kept at.
|
||||
default: "/RancherStorage/InvoiceNinja"
|
||||
required: true
|
||||
type: string
|
||||
- variable: "LOGO_DIR"
|
||||
label: "Logo Directory"
|
||||
description: |
|
||||
The
|
||||
default: "/Logo"
|
||||
required: true
|
||||
type: string
|
||||
- variable: "STORAGE_DIR"
|
||||
label: "Storage Directory"
|
||||
description: |
|
||||
The folder for persistent storage files.
|
||||
default: "/Storage"
|
||||
required: true
|
||||
type: string
|
||||
- variable: "DB_DIR"
|
||||
label: "Database Directory"
|
||||
description: |
|
||||
The folder which will store the persistent database files.
|
||||
default: "/Database"
|
||||
required: true
|
||||
type: string
|
||||
- variable: "CONFIG_DIR"
|
||||
label: "Configuration Directory"
|
||||
description: |
|
||||
The folder which configuration files should be in.
|
||||
default: "/Config"
|
||||
required: true
|
||||
type: string
|
||||
- variable: "APP_KEY"
|
||||
label: "Encryption Key"
|
||||
description: |
|
||||
A randomly generated 32-Character string which will be used for encryption.
|
||||
required: true
|
||||
type: string
|
||||
app:
|
||||
scale: 1
|
||||
1
templates/InvoiceNinja/catalogIcon-invoiceninja.svg
Normal file
1
templates/InvoiceNinja/catalogIcon-invoiceninja.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 6.4 KiB |
8
templates/InvoiceNinja/config.yml
Normal file
8
templates/InvoiceNinja/config.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
name: Invoice Ninja
|
||||
description: |
|
||||
Will put in description later.
|
||||
version: latest
|
||||
category: Invoicing
|
||||
maintainer: WilliamMiceli
|
||||
license:
|
||||
projectURL: https://hub.docker.com/r/invoiceninja/invoiceninja/
|
||||
Reference in New Issue
Block a user