mirror of
https://github.com/darksaid98/yolks.git
synced 2026-12-02 14:38:59 +00:00
add PostgreSQL/MongoDB Images and fixes multi-arch builds for MariaDB, Redis.
13 lines
339 B
Bash
13 lines
339 B
Bash
#!/bin/bash
|
|
cd /home/container
|
|
|
|
# Make internal Docker IP address available to processes.
|
|
export INTERNAL_IP=`ip route get 1 | awk '{print $NF;exit}'`
|
|
|
|
# Replace Startup Variables
|
|
MODIFIED_STARTUP=$(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')
|
|
echo ":/home/container$ ${MODIFIED_STARTUP}"
|
|
|
|
# Run the Server
|
|
eval ${MODIFIED_STARTUP}
|