mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2024-12-28 15:45:44 +03:00
STAM
61938a770d
bump versions updated `LazyGIT` to `0.40.2` converterd some envs to args sources.list fix + nextcloud updates python fix java fixes python fix java fixes bitbucket full images
18 lines
529 B
Plaintext
18 lines
529 B
Plaintext
if [ ${SYSPASS_DEV} -eq 1 ]; then
|
|
COMPOSER_OPTIONS="--working-dir ${SYSPASS_DIR} --optimize-autoloader --dev"
|
|
fi
|
|
|
|
setup_apache () {
|
|
if [ ${SYSPASS_DEV} -eq 0 ]; then
|
|
return 0
|
|
fi
|
|
|
|
echo -e "${COLOR_YELLOW}setup_apache: Setting up xdebug variables${COLOR_NC}"
|
|
sed -i 's/__XDEBUG_REMOTE_HOST__/'"$XDEBUG_REMOTE_HOST"'/' /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
|
|
sed -i 's/__XDEBUG_IDE_KEY__/'"$XDEBUG_IDE_KEY"'/' /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
|
|
}
|
|
|
|
run_apache () {
|
|
apache2-foreground
|
|
}
|