From e80d0aad0d74b0f27002514ecff764c307233a82 Mon Sep 17 00:00:00 2001 From: technorabilia Date: Sun, 18 Feb 2024 01:20:34 +0000 Subject: [PATCH] Workflow update --- lsio/snipe-it/docker-compose.yaml | 20 ++++++++++++++++++++ lsio/snipe-it/docker-run.sh | 10 ++++++++++ 2 files changed, 30 insertions(+) diff --git a/lsio/snipe-it/docker-compose.yaml b/lsio/snipe-it/docker-compose.yaml index 8c6b3d2..d219a76 100644 --- a/lsio/snipe-it/docker-compose.yaml +++ b/lsio/snipe-it/docker-compose.yaml @@ -28,6 +28,26 @@ services: - MYSQL_USER= # Mysql password to use - MYSQL_PASSWORD= + # Default is `production` but can use `testing` or `develop`. + - APP_ENV=production # optional + # Set to `true` to see debugging output in the web UI. + - APP_DEBUG=false # optional + # Default is `en`. Set to a language from [this list](https://snipe-it.readme.io/docs/configuration#section-setting-a-language). + - APP_LOCALE= # optional + # SMTP mail server ip or hostname. + - MAIL_PORT_587_TCP_ADDR=US/Pacific # optional + # SMTP mail server port. + - MAIL_PORT_587_TCP_PORT=US/Pacific # optional + # The email address mail should be replied to and listed when sent. + - MAIL_ENV_FROM_ADDR=US/Pacific # optional + # The name listed on email sent from the default account on the system. + - MAIL_ENV_FROM_NAME=US/Pacific # optional + # Mail encryption to use e.g. `tls`. + - MAIL_ENV_ENCRYPTION=US/Pacific # optional + # SMTP server login username. + - MAIL_ENV_USERNAME=US/Pacific # optional + # SMTP server login password. + - MAIL_ENV_PASSWORD=US/Pacific # optional volumes: # Contains your config files and data storage for Snipe-IT - ${BASEDIR:-/volume1/docker}/snipe-it/config:/config diff --git a/lsio/snipe-it/docker-run.sh b/lsio/snipe-it/docker-run.sh index 4b5d6ad..58a71d2 100644 --- a/lsio/snipe-it/docker-run.sh +++ b/lsio/snipe-it/docker-run.sh @@ -15,6 +15,16 @@ docker run -d \ -e MYSQL_DATABASE= `# Mysql database to use` \ -e MYSQL_USER= `# Mysql user to use` \ -e MYSQL_PASSWORD= `# Mysql password to use` \ + -e APP_ENV=production `# optional` `# Default is `production` but can use `testing` or `develop`.` \ + -e APP_DEBUG=false `# optional` `# Set to `true` to see debugging output in the web UI.` \ + -e APP_LOCALE= `# optional` `# Default is `en`. Set to a language from [this list](https://snipe-it.readme.io/docs/configuration#section-setting-a-language).` \ + -e MAIL_PORT_587_TCP_ADDR=US/Pacific `# optional` `# SMTP mail server ip or hostname.` \ + -e MAIL_PORT_587_TCP_PORT=US/Pacific `# optional` `# SMTP mail server port.` \ + -e MAIL_ENV_FROM_ADDR=US/Pacific `# optional` `# The email address mail should be replied to and listed when sent.` \ + -e MAIL_ENV_FROM_NAME=US/Pacific `# optional` `# The name listed on email sent from the default account on the system.` \ + -e MAIL_ENV_ENCRYPTION=US/Pacific `# optional` `# Mail encryption to use e.g. `tls`.` \ + -e MAIL_ENV_USERNAME=US/Pacific `# optional` `# SMTP server login username.` \ + -e MAIL_ENV_PASSWORD=US/Pacific `# optional` `# SMTP server login password.` \ -p 8080:80 `# Snipe-IT Web UI` \ -v ${BASEDIR:-/volume1/docker}/snipe-it/config:/config `# Contains your config files and data storage for Snipe-IT` \ --restart unless-stopped \