We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents eeee074 + 66d4ebe commit 4c7a531Copy full SHA for 4c7a531
root/etc/cont-init.d/50-config
@@ -25,6 +25,12 @@ if [ ! -f "/config/configuration.py" ]; then
25
done
26
fi
27
28
+[[ ! -e "/config/media" ]] && \
29
+ mv /app/netbox/netbox/media /config/media
30
+
31
+rm -rf /app/netbox/netbox/media
32
+ln -sf /config/media /app/netbox/netbox/media
33
34
ln -sf /config/configuration.py /app/netbox/netbox/netbox/configuration.py
35
36
mv /defaults/uwsgi.ini /app/netbox/netbox/uwsgi.ini > /dev/null 2>&1
0 commit comments