mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-02 03:37:40 +02:00
add snipeit
This commit is contained in:
parent
9f8d9a8390
commit
ebaaf57b31
27
snipeit/data/snipeit/snipeit.env
Normal file
27
snipeit/data/snipeit/snipeit.env
Normal file
@ -0,0 +1,27 @@
|
||||
# Mysql Parameters
|
||||
MYSQL_ROOT_PASSWORD=root
|
||||
MYSQL_DATABASE=snipeit
|
||||
MYSQL_USER=snipeit
|
||||
MYSQL_PASSWORD=snipeit
|
||||
|
||||
# Email Parameters
|
||||
# - the hostname/IP address of your mailserver
|
||||
MAIL_PORT_587_TCP_ADDR=smtp.gmail.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
|
||||
MAIL_ENV_FROM_ADDR=easypi@gmail.com
|
||||
MAIL_ENV_FROM_NAME=EasyPi Software Foundation
|
||||
# - pick 'tls' for SMTP-over-SSL, 'tcp' for unencrypted
|
||||
MAIL_ENV_ENCRYPTION=tls
|
||||
# SMTP username and password
|
||||
MAIL_ENV_USERNAME=easypi
|
||||
MAIL_ENV_PASSWORD=******
|
||||
|
||||
# Snipe-IT Settings
|
||||
APP_ENV=production
|
||||
APP_DEBUG=false
|
||||
APP_KEY=base64:D5oGA+zhFSVA3VwuoZoQ21RAcwBtJv/RGiqOcZ7BUvI=
|
||||
APP_URL=http://snipeit.easypi.pro:8080
|
||||
APP_TIMEZONE=UTC
|
||||
APP_LOCALE=en
|
22
snipeit/docker-compose.yml
Normal file
22
snipeit/docker-compose.yml
Normal file
@ -0,0 +1,22 @@
|
||||
snipeit:
|
||||
image: snipe/snipe-it
|
||||
ports:
|
||||
- "8080:80"
|
||||
links:
|
||||
- mysql
|
||||
volumes:
|
||||
- ./data/snipeit:/var/lib/snipeit
|
||||
env_file:
|
||||
- ./data/snipeit/snipeit.env
|
||||
restart: always
|
||||
|
||||
mysql:
|
||||
image: mysql
|
||||
volumes:
|
||||
- ./data/mysql:/var/lib/mysql
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=root
|
||||
- MYSQL_USER=snipeit
|
||||
- MYSQL_PASSWORD=snipeit
|
||||
- MYSQL_DATABASE=snipeit
|
||||
restart: always
|
Loading…
Reference in New Issue
Block a user