diff options
| author | George Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-04-04 08:46:09 +0300 |
|---|---|---|
| committer | George Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-04-04 08:46:09 +0300 |
| commit | 8df89ce39d2acf5b23ee15241060bd9dd6551620 (patch) | |
| tree | 06eded98dc24022ce2e5ccfb43d07696427fb5fb /docker/bin | |
| parent | 0d317dc0cfe6ae2b6b62d711b7ae67e63555235f (diff) | |
| download | classroom-8df89ce39d2acf5b23ee15241060bd9dd6551620.tar.gz classroom-8df89ce39d2acf5b23ee15241060bd9dd6551620.tar.bz2 classroom-8df89ce39d2acf5b23ee15241060bd9dd6551620.zip | |
database migrated; privileges table has an included(-privileges) field
Diffstat (limited to 'docker/bin')
| -rw-r--r-- | docker/bin/docker-entrypoint.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docker/bin/docker-entrypoint.sh b/docker/bin/docker-entrypoint.sh index 236c4fb..ee396d3 100644 --- a/docker/bin/docker-entrypoint.sh +++ b/docker/bin/docker-entrypoint.sh @@ -1,19 +1,25 @@ #! /bin/sh +# setup writable directories +# ------------------------------------------------------------------------------ # grand to 'cache' directory writable permissions # set file-cache directory to apache's user ownership chmod -R 755 /var/www/html/cache chown -R www-data:www-data /var/www/html/cache # copy composer.json to 'www'; then prepare auutoloading +# ------------------------------------------------------------------------------ cp /var/www/docker/config/composer-naked.json /var/www/composer.json (cd /var/www ; composer update) (cd /var/www ; composer dump-autoload) + ### set -ex ### ### /cloud_sql_proxy -instances=pythia-251711:europe-west4:pythia-db-eu -dir=/cloudsql -credential_file=/cloudsqlproxy.json & ### sleep 3 +# start apache +# ------------------------------------------------------------------------------ # End with running the original command exec /usr/sbin/apache2ctl -D FOREGROUND
\ No newline at end of file |
