mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Remove silly docker.env file; fix Dockerfile to preserve Oauth keys (#5377)
This commit is contained in:
parent
a326adc863
commit
a6fc7ba07a
|
@ -64,7 +64,10 @@ RUN chown -R docker /var/www/html
|
|||
RUN \
|
||||
rm -r "/var/www/html/storage/private_uploads" && ln -fs "/var/lib/snipeit/data/private_uploads" "/var/www/html/storage/private_uploads" \
|
||||
&& rm -rf "/var/www/html/public/uploads" && ln -fs "/var/lib/snipeit/data/uploads" "/var/www/html/public/uploads" \
|
||||
&& rm -r "/var/www/html/storage/app/backups" && ln -fs "/var/lib/snipeit/dumps" "/var/www/html/storage/app/backups"
|
||||
&& rm -r "/var/www/html/storage/app/backups" && ln -fs "/var/lib/snipeit/dumps" "/var/www/html/storage/app/backups" \
|
||||
&& mkdir "/var/lib/snipeit/keys" && ln -fs "/var/lib/snipeit/keys/oauth-private.key" "/var/www/html/storage/oauth-private.key" \
|
||||
&& ln -fs "/var/lib/snipeit/keys/oauth-public.key" "/var/www/html/storage/oauth-public.key" \
|
||||
&& chown docker "/var/lib/snipeit/keys/"
|
||||
|
||||
############## DEPENDENCIES via COMPOSER ###################
|
||||
|
||||
|
|
28
docker.env
28
docker.env
|
@ -1,28 +0,0 @@
|
|||
# Docker Environment File
|
||||
|
||||
#Database Variables
|
||||
MYSQL_ROOT_PASSWORD=supersecuresecretthing
|
||||
MYSQL_DATABASE=snipeit
|
||||
MYSQL_USER=snipeit
|
||||
MYSQL_PASSWORD=tinglewingler
|
||||
|
||||
#Email Variables
|
||||
MAIL_PORT_587_TCP_ADDR=smtp.mandrillapp.com
|
||||
MAIL_PORT_587_TCP_PORT=587
|
||||
MAIL_ENV_FROM_ADDR=you@example.com
|
||||
MAIL_ENV_FROM_NAME=Snipe-IT
|
||||
MAIL_ENV_ENCRYPTION=tcp
|
||||
MAIL_ENV_USERNAME=you@example.com
|
||||
MAIL_ENV_PASSWORD=N7AqLufTZMULWHWYwJ0ZCw
|
||||
MAIL_ENV_REPLYTO_ADDR=you@example.com
|
||||
MAIL_ENV_REPLYTO_NAME='Snipe-IT'
|
||||
|
||||
#SNIPE-IT Variables
|
||||
APP_ENV=develop
|
||||
APP_DEBUG=true
|
||||
APP_KEY=Y5hJeC7x1i7OxhDrvrQPlB9KvCorvRdO
|
||||
APP_URL=http://127.0.0.1:32782
|
||||
APP_TIMEZONE=US/Pacific
|
||||
APP_LOCALE=en
|
||||
|
||||
ALLOW_IFRAMING=false
|
Loading…
Reference in a new issue