File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1+
12# code: language=Dockerfile
23FROM python:2
34WORKDIR /app
5859 DD_CREDENTIAL_AES_256_KEY="&91a*agLqesc*0DJ+2*bAbsUZfR*4nLw" \
5960 DD_INITIALIZE=true \
6061 DD_UWSGI_MODE="socket" \
61- DD_UWSGI_ENDPOINT="0.0.0.0:3031"
62- ENTRYPOINT ["/entrypoint-uwsgi.sh"]
62+ DD_UWSGI_ENDPOINT="0.0.0.0:3031" \
63+ DD_DJANGO_ADMIN_ENABLED="on"
64+ ENTRYPOINT ["/entrypoint-uwsgi.sh"]
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ echo "Admin user: ${DD_ADMIN_USER}"
1313
1414if [ -z " ${DD_ADMIN_PASSWORD} " ]
1515then
16- export DD_ADMIN_PASSWORD=" $( cat /dev/random | LC_ALL=C tr -dc a-zA-Z0-9 | \
16+ export DD_ADMIN_PASSWORD=" $( cat /dev/urandom | LC_ALL=C tr -dc a-zA-Z0-9 | \
1717 head -c 22) "
1818 echo " Admin password: ${DD_ADMIN_PASSWORD} "
1919fi
You can’t perform that action at this time.
0 commit comments