mirror of
https://github.com/bitnami/containers.git
synced 2026-03-10 15:09:17 +08:00
14 lines
379 B
Bash
14 lines
379 B
Bash
#!/bin/bash
|
|
cd $BITNAMI_APP_DIR
|
|
|
|
# move the default conf directory
|
|
mv conf conf.defaults
|
|
|
|
# move the default webapps directory
|
|
mv webapps webapps.defaults
|
|
|
|
# symlink mount points at root to install dir
|
|
ln -s $BITNAMI_APP_DIR/webapps $BITNAMI_APP_VOL_PREFIX/webapps
|
|
ln -s $BITNAMI_APP_DIR/conf $BITNAMI_APP_VOL_PREFIX/conf
|
|
ln -s $BITNAMI_APP_DIR/logs $BITNAMI_APP_VOL_PREFIX/logs
|