add DEVELOP case options and update README.md

This commit is contained in:
Christoph Kluge
2021-06-11 13:44:51 +02:00
parent 3f9265bb7e
commit 9a465e7018
5 changed files with 60 additions and 11 deletions

View File

@@ -76,7 +76,8 @@ COPY symfony.ini /etc/php8/cli/conf.d/
COPY symfony.pool.conf /etc/php8/php-fpm.d/
COPY entrypoint.sh /entrypoint.sh
ENV APP_ENV=prod
ARG APP_ENVIRONMENT
ENV APP_ENV=${APP_ENVIRONMENT}
ENV APP_SECRET=67d829bf61dc5f87a73fd814e2c9f629
ENV APP_DEBUG=1
ARG INFLUXDB_PASSWORD

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
if [ -n "${DOCKER_CLUSTERCOCKPIT_INIT}" ]; then
if [ "$APP_CLUSTERCOCKPIT_INIT" = true ]; then
rm -rf /var/www/symfony/* /var/www/symfony/.??*
git clone https://github.com/ClusterCockpit/ClusterCockpit .
@@ -13,4 +13,6 @@ if [ -n "${DOCKER_CLUSTERCOCKPIT_INIT}" ]; then
ln -s /var/lib/job-archive var/job-archive
fi
php bin/console about
exec "$@"