Le init db est fait dans le initdb.sh plutôt ...
This commit is contained in:
@@ -9,7 +9,7 @@ services:
|
|||||||
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
|
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
|
||||||
restart: ${restartPolicy}
|
restart: ${restartPolicy}
|
||||||
volumes:
|
volumes:
|
||||||
- ./initdb.d:/docker-entrypoint-initdb.d:ro
|
# - ./initdb.d:/docker-entrypoint-initdb.d:ro
|
||||||
- orgaDB:/var/lib/mysql
|
- orgaDB:/var/lib/mysql
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
|
@@ -412,7 +412,7 @@ if [[ -n "${STAGE_DEFAULT}${STAGE_CREATE}" ]]; then
|
|||||||
ln -sf ../../config/orgaTmpl/orga-gen.sh
|
ln -sf ../../config/orgaTmpl/orga-gen.sh
|
||||||
ln -sf ../../config/orgaTmpl/orga-rm.sh
|
ln -sf ../../config/orgaTmpl/orga-rm.sh
|
||||||
ln -sf ../../config/orgaTmpl/init-paheko.sh
|
ln -sf ../../config/orgaTmpl/init-paheko.sh
|
||||||
ln -sf ../../config/orgaTmpl/initdb.d/
|
#ln -sf ../../config/orgaTmpl/initdb.d/
|
||||||
ln -sf ../../config/orgaTmpl/app/
|
ln -sf ../../config/orgaTmpl/app/
|
||||||
ln -sf ../../config/orgaTmpl/wiki-conf/
|
ln -sf ../../config/orgaTmpl/wiki-conf/
|
||||||
ln -sf ../../config/orgaTmpl/reload.sh
|
ln -sf ../../config/orgaTmpl/reload.sh
|
||||||
@@ -443,6 +443,12 @@ if [[ -n "${STAGE_DEFAULT}${STAGE_CREATE}" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -n "${STAGE_DEFAULT}${STAGE_CREATE}" ]]; then
|
if [[ -n "${STAGE_DEFAULT}${STAGE_CREATE}" ]]; then
|
||||||
|
|
||||||
|
|
||||||
|
# ########## create network
|
||||||
|
## GAEL bizarre, je pense que c'est déjà fait qque part, mais chez moi ça veut pas ...
|
||||||
|
docker network create "${ORGA}-orgaNet"
|
||||||
|
|
||||||
# ########## create volume
|
# ########## create volume
|
||||||
./init-volume.sh
|
./init-volume.sh
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user