mirror of
https://github.com/ClusterCockpit/cc-docker.git
synced 2025-07-23 05:11:41 +02:00
add DEVELOP case options and update README.md
This commit is contained in:
@@ -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
|
||||
|
@@ -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 "$@"
|
||||
|
Reference in New Issue
Block a user