Folder Rename

This commit is contained in:
WilliamMiceli
2018-06-27 09:38:30 -04:00
parent 26cdbac944
commit 08023eb558
5 changed files with 0 additions and 0 deletions

View 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

View 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

View 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

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 6.4 KiB

View 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/