Created
October 19, 2018 23:29
-
-
Save HinchK/bc2fee6d442489b9cf77f50c8cd08d14 to your computer and use it in GitHub Desktop.
a single environment file example for snipe/snipe-it & docker-compose
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Mysql Parameters | |
| MYSQL_ROOT_PASSWORD=secret | |
| MYSQL_DATABASE=snipedocker | |
| MYSQL_USER=root | |
| MYSQL_PASSWORD=secret | |
| # Email Parameters | |
| # - the hostname/IP address of your mailserver | |
| MAIL_PORT_587_TCP_ADDR=smtp.example.com | |
| #the port for the mailserver (probably 587, could be another) | |
| MAIL_PORT_587_TCP_PORT=587 | |
| # the default from address, and from name for emails | |
| [email protected] | |
| MAIL_ENV_FROM_NAME=HinchK | |
| # - pick 'tls' for SMTP-over-SSL, 'tcp' for unencrypted | |
| MAIL_ENV_ENCRYPTION=tcp | |
| # SMTP username and password | |
| MAIL_ENV_USERNAME=your_email_username | |
| MAIL_ENV_PASSWORD=your_email_password | |
| # Snipe-IT Settings | |
| APP_ENV=development | |
| #APP_ENV=production | |
| APP_DEBUG=true | |
| DEBUG_WARN=false | |
| APP_WARN=false | |
| APP_KEY=base64:/uuNHAktcfNqB0OqPwv9ASNsRtQFzaCkUdi5Q4AspQI= | |
| APP_URL=http://192.168.99.100:8080 | |
| #APP_URL=http://127.0.0.1:8080 | |
| APP_TIMEZONE=US/Pacific | |
| APP_LOCALE=en | |
| # -------------------------------------------- | |
| # REQUIRED: DATABASE SETTINGS | |
| # -------------------------------------------- | |
| DB_CONNECTION=mysql | |
| DB_HOST=mysql | |
| #DB_SOCKET=/var/lib/mysql/mysql.sock | |
| #DB_DATABASE=snipeit | |
| DB_DATABASE=snipedocker | |
| DB_USERNAME=root | |
| DB_PASSWORD=secret | |
| DB_PREFIX=null | |
| DB_DUMP_PATH=/usr/bin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment