feat: add PostgreSQL/MongoDB Images and fix multiarch (#40)

add PostgreSQL/MongoDB Images and fixes multi-arch builds for MariaDB, Redis.
This commit is contained in:
Torsten Widmann
2022-01-25 16:08:35 +01:00
committed by GitHub
parent 68ef32ee2a
commit c263e42dac
20 changed files with 274 additions and 7 deletions

12
mongodb/entrypoint.sh Normal file
View File

@@ -0,0 +1,12 @@
#!/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}