Renamed "snipe" to "snipe-it" as it should be
This commit is contained in:
50
templates/Snipe-IT/0/docker-compose.yml
Normal file
50
templates/Snipe-IT/0/docker-compose.yml
Normal 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
|
||||
Reference in New Issue
Block a user