Renamed "snipe" to "snipe-it" as it should be

This commit is contained in:
WilliamMiceli
2018-11-17 17:58:21 -05:00
parent b437d74487
commit a58c5f5771
4 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,50 @@
version: '2'
services:
snipe-it:
image: snipe/snipe-it:latest
depends_on:
- mysql
dns:
- 1.1.1.1
- 1.0.0.1
environment:
# APP_ENV: production
APP_DEBUG: true
APP_URL: ${URL}:${WEB_PORT}
APP_KEY: ${APP_KEY}
MYSQL_HOST: mysql
MYSQL_DATABASE: snipeit
MYSQL_USER: snipe_user
MYSQL_PASSWORD: ${DB_USER_PASS}
APP_ENV:
labels:
io.rancher.container.pull_image: always
{{- if .Values.HOST_LABEL}}
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
{{- end}}
links:
- mysql
ports:
- "${WEB_PORT}:80"
restart: on-failure
volumes:
- /RancherCattleData/${DATA_DIR}/Application:/var/lib/snipeit
mysql:
image: mysql:5
dns:
- 1.1.1.1
- 1.0.0.1
environment:
MYSQL_DATABASE: snipeit
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASS}
MYSQL_USER: snipe_user
MYSQL_PASSWORD: ${DB_USER_PASS}
labels:
io.rancher.container.pull_image: always
{{- if (.Values.HOST_LABEL)}}
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
{{- end}}
restart: on-failure
volumes:
- /RancherCattleData/${DATA_DIR}/Database:/var/lib/mysql

View File

@@ -0,0 +1,64 @@
version: '2'
catalog:
name: SnipeIT
version: latest
# description:
# minimum_rancher_version:
# maximum_rancher_version:
# upgrade_from:
questions:
- variable: "HOST_LABEL"
label: "Host Label Key/Value Pair"
description: |
The Label Key/Value pair on the host which containers should be deployed
default: "host.id=Host1"
required: false
type: string
- variable: "URL"
label: "URL"
description: |
The domain or hostname the service can be accessed at.
default: "http://localhost"
required: true
type: string
- variable: "WEB_PORT"
label: "Local Web Port"
description: |
The port to locally access the web interface on.
default: "10300"
required: true
type: string
- variable: "DATA_DIR"
label: "Data Directory"
description: |
The directory to store persistent data for the stack.
default: "Personal/Snipe-IT"
required: true
type: string
- variable: "DB_ROOT_PASS"
label: "MySQL Root Password"
description: |
A secure password to be used by the "root" MySQL user.
# default:
required: true
type: password
- variable: "DB_USER_PASS"
label: "MySQL User Password"
description: |
A secure password to be used by the "snipe_user" MySQL user.
# default:
required: true
type: password
- variable: "APP_KEY"
label: "Encryption Key"
description: |
A random 32-Character string which will be used for encryption.
required: true
type: password

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 10 KiB

View File

@@ -0,0 +1,8 @@
name: Snipe-IT
description: |
Status: NOT READY
version: latest
category: Asset Management
maintainer: WilliamMiceli
# license:
# projectURL: