feat(apps): mediawiki dockerfile

This commit is contained in:
darksaid98 committed 2025-01-04 05:01:57 +01:00
1 parent 43ab26d0b5
commit c302f850ec
3 files changed
+32

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
#!/bin/bash
cd /home/container
# Make internal Docker IP address available to processes.
INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}')
export INTERNAL_IP
# Replace Startup Variables
MODIFIED_STARTUP=$(echo -e ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')
echo -e ":/home/container$ ${MODIFIED_STARTUP}"
# Run the Server
eval ${MODIFIED_STARTUP}