From 69c1136ec606afe12349e538de1b5059472bc6a6 Mon Sep 17 00:00:00 2001 From: Shin <2082119+shinsenter@users.noreply.github.com> Date: Fri, 18 Jul 2025 00:08:33 +0900 Subject: [PATCH] [5.x] Update README.md for application images --- .github/workflows/cleanup.yml | 41 ------------------- build/config.sh | 3 ++ build/helpers.sh | 2 +- .../etc/hooks/bootstrap/20-create-project | 1 + src/php/common/shell-php/phpaddmod | 4 +- src/webapps/bedrock/README.md | 10 ++--- src/webapps/cakephp4/README.md | 10 ++--- src/webapps/cakephp5/README.md | 10 ++--- src/webapps/codeigniter4/README.md | 10 ++--- src/webapps/coolify/README.md | 10 ++--- src/webapps/drupal/README.md | 10 ++--- src/webapps/espocrm/README.md | 10 ++--- src/webapps/flarum/README.md | 10 ++--- src/webapps/flightphp/README.md | 10 ++--- src/webapps/grav/README.md | 10 ++--- src/webapps/hyperf/README.md | 10 ++--- src/webapps/invoiceshelf/README.md | 10 ++--- .../etc/hooks/onready/boot-invoiceshelf | 1 - src/webapps/kirby/README.md | 10 ++--- src/webapps/laminas/README.md | 10 ++--- src/webapps/laravel/README.md | 22 +++++----- src/webapps/magento/README.md | 10 ++--- src/webapps/mautic/README.md | 10 ++--- src/webapps/phpmyadmin/README.md | 10 ++--- src/webapps/slim/README.md | 10 ++--- src/webapps/spiral/README.md | 10 ++--- src/webapps/statamic/README.md | 10 ++--- .../rootfs/etc/hooks/onready/boot-statamic | 1 - src/webapps/sulu/README.md | 10 ++--- src/webapps/symfony/README.md | 10 ++--- src/webapps/wordpress/README.md | 10 ++--- .../rootfs/etc/hooks/onready/boot-wordpress | 2 - src/webapps/yii/README.md | 10 ++--- src/webapps/zz-crater/README.md | 10 ++--- .../rootfs/etc/hooks/onready/boot-crater | 1 - src/webapps/zz-fuelphp/README.md | 10 ++--- src/webapps/zz-phpixie/README.md | 10 ++--- 37 files changed, 153 insertions(+), 195 deletions(-) delete mode 100644 .github/workflows/cleanup.yml diff --git a/.github/workflows/cleanup.yml b/.github/workflows/cleanup.yml deleted file mode 100644 index 1b56e2ef..00000000 --- a/.github/workflows/cleanup.yml +++ /dev/null @@ -1,41 +0,0 @@ -################################################################################ -# These setups are part of the project: https://code.shin.company/php -# Please respect the intellectual effort that went into creating them. -# If you use or copy these ideas, proper credit would be appreciated. -# - Author: SHIN Company -# - License: https://code.shin.company/php/blob/main/LICENSE -################################################################################ - -name: Clean up - -################################################################################ -################################################################################ - -on: - workflow_dispatch: - -################################################################################ -################################################################################ - -jobs: - clean_up_ghcr: - runs-on: ubuntu-latest - steps: - - uses: dataaxiom/ghcr-cleanup-action@v1 - with: - packages: 'shinsenter/*' - expand-packages: true - delete-untagged: true - - uses: dataaxiom/ghcr-cleanup-action@v1 - with: - packages: 'shinsenter/*' - expand-packages: true - delete-partial-images: true - - uses: dataaxiom/ghcr-cleanup-action@v1 - with: - packages: 'shinsenter/*' - expand-packages: true - older-than: 1 year - -################################################################################ -################################################################################ diff --git a/build/config.sh b/build/config.sh index 727072ce..1197fa32 100755 --- a/build/config.sh +++ b/build/config.sh @@ -240,6 +240,7 @@ app-*) ;; laravel) # https://laravel.com/docs/master/installation + ALLOW_RC=1 BUILD_FROM_IMAGE="$DEFAULT_REPO/phpfpm-nginx" ;; magento) @@ -272,12 +273,14 @@ app-*) ;; symfony) # https://symfony.com/doc/current/setup.html + ALLOW_RC=1 ;; sulu) # https://github.com/sulu/skeleton ;; wordpress) # https://wordpress.org/documentation/category/installation + ALLOW_RC=1 ;; bedrock) # https://roots.io/bedrock/docs/installation diff --git a/build/helpers.sh b/build/helpers.sh index 1586fcac..a36e0498 100755 --- a/build/helpers.sh +++ b/build/helpers.sh @@ -112,7 +112,7 @@ path_hash() { for target; do if [ ! -z "$target" ]; then if [ -d "$target" ]; then - find "$target" -type f -not -name '.*' \ + find "$target" -type f ! -name '.*' ! -name '*.md' \ | sort -dbfi | xargs -r shasum 2>/dev/null elif [ -f "$target" ]; then shasum "$target" 2>/dev/null diff --git a/src/php/common/rootfs/etc/hooks/bootstrap/20-create-project b/src/php/common/rootfs/etc/hooks/bootstrap/20-create-project index d5c2d404..5cb742a7 100755 --- a/src/php/common/rootfs/etc/hooks/bootstrap/20-create-project +++ b/src/php/common/rootfs/etc/hooks/bootstrap/20-create-project @@ -112,6 +112,7 @@ if [ -z "$(ls -A "$APP_PATH")" ]; then else cp -pn "$temp" "$APP_PATH"/ &>/dev/null fi + rm -rf "$temp" "$filename" ;; */*) debug-echo "Installing project $INITIAL_PROJECT to $APP_PATH." diff --git a/src/php/common/shell-php/phpaddmod b/src/php/common/shell-php/phpaddmod index f7c1bdbb..1f015c2e 100755 --- a/src/php/common/shell-php/phpaddmod +++ b/src/php/common/shell-php/phpaddmod @@ -6,8 +6,8 @@ # - Author: SHIN Company # - License: https://code.shin.company/php/blob/main/LICENSE ################################################################################ -if ! has-cmd php; then exit 0; fi -if ! has-cmd install-php-extensions; then exit 0; fi +if ! has-cmd php; then exit 1; fi +if ! has-cmd install-php-extensions; then exit 1; fi # show usage if no arguments are passed if [ $# -eq 0 ]; then diff --git a/src/webapps/bedrock/README.md b/src/webapps/bedrock/README.md index 86c8f364..bbd6c9ad 100644 --- a/src/webapps/bedrock/README.md +++ b/src/webapps/bedrock/README.md @@ -38,14 +38,14 @@ When you mount an empty directory into the container, it will automatically down 1. Create an empty directory on your host machine for your project code. For example: ```shell -mkdir myproject +mkdir bedrock ``` 2. Run the container and mount the empty directory as a volume. For example: ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./bedrock:/var/www/html \ shinsenter/bedrock:latest ``` @@ -86,14 +86,14 @@ COPY my_domain.key /etc/ssl/site/server.key # Add your instructions here # For example: -# ADD --chown=$APP_USER:$APP_GROUP ./myproject/ /var/www/html/ +# ADD --chown=$APP_USER:$APP_GROUP ./bedrock/ /var/www/html/ ``` #### Using docker run ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./bedrock:/var/www/html \ -v ./my_domain.crt:/etc/ssl/site/server.crt \ -v ./my_domain.key:/etc/ssl/site/server.key \ shinsenter/bedrock:latest @@ -106,7 +106,7 @@ services: web: image: shinsenter/bedrock:latest volumes: - - ./myproject:/var/www/html + - ./bedrock:/var/www/html - ./my_domain.crt:/etc/ssl/site/server.crt - ./my_domain.key:/etc/ssl/site/server.key ``` diff --git a/src/webapps/cakephp4/README.md b/src/webapps/cakephp4/README.md index 62973e58..04fee1b2 100644 --- a/src/webapps/cakephp4/README.md +++ b/src/webapps/cakephp4/README.md @@ -35,14 +35,14 @@ When you mount an empty directory into the container, it will automatically down 1. Create an empty directory on your host machine for your project code. For example: ```shell -mkdir myproject +mkdir cakephp4 ``` 2. Run the container and mount the empty directory as a volume. For example: ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./cakephp4:/var/www/html \ shinsenter/cakephp4:latest ``` @@ -83,14 +83,14 @@ COPY my_domain.key /etc/ssl/site/server.key # Add your instructions here # For example: -# ADD --chown=$APP_USER:$APP_GROUP ./myproject/ /var/www/html/ +# ADD --chown=$APP_USER:$APP_GROUP ./cakephp4/ /var/www/html/ ``` #### Using docker run ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./cakephp4:/var/www/html \ -v ./my_domain.crt:/etc/ssl/site/server.crt \ -v ./my_domain.key:/etc/ssl/site/server.key \ shinsenter/cakephp4:latest @@ -103,7 +103,7 @@ services: web: image: shinsenter/cakephp4:latest volumes: - - ./myproject:/var/www/html + - ./cakephp4:/var/www/html - ./my_domain.crt:/etc/ssl/site/server.crt - ./my_domain.key:/etc/ssl/site/server.key ``` diff --git a/src/webapps/cakephp5/README.md b/src/webapps/cakephp5/README.md index 94092aab..8a9d092c 100644 --- a/src/webapps/cakephp5/README.md +++ b/src/webapps/cakephp5/README.md @@ -35,14 +35,14 @@ When you mount an empty directory into the container, it will automatically down 1. Create an empty directory on your host machine for your project code. For example: ```shell -mkdir myproject +mkdir cakephp5 ``` 2. Run the container and mount the empty directory as a volume. For example: ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./cakephp5:/var/www/html \ shinsenter/cakephp5:latest ``` @@ -83,14 +83,14 @@ COPY my_domain.key /etc/ssl/site/server.key # Add your instructions here # For example: -# ADD --chown=$APP_USER:$APP_GROUP ./myproject/ /var/www/html/ +# ADD --chown=$APP_USER:$APP_GROUP ./cakephp5/ /var/www/html/ ``` #### Using docker run ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./cakephp5:/var/www/html \ -v ./my_domain.crt:/etc/ssl/site/server.crt \ -v ./my_domain.key:/etc/ssl/site/server.key \ shinsenter/cakephp5:latest @@ -103,7 +103,7 @@ services: web: image: shinsenter/cakephp5:latest volumes: - - ./myproject:/var/www/html + - ./cakephp5:/var/www/html - ./my_domain.crt:/etc/ssl/site/server.crt - ./my_domain.key:/etc/ssl/site/server.key ``` diff --git a/src/webapps/codeigniter4/README.md b/src/webapps/codeigniter4/README.md index 3c43aa78..3160f476 100644 --- a/src/webapps/codeigniter4/README.md +++ b/src/webapps/codeigniter4/README.md @@ -35,14 +35,14 @@ When you mount an empty directory into the container, it will automatically down 1. Create an empty directory on your host machine for your project code. For example: ```shell -mkdir myproject +mkdir codeigniter4 ``` 2. Run the container and mount the empty directory as a volume. For example: ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./codeigniter4:/var/www/html \ shinsenter/codeigniter4:latest ``` @@ -83,14 +83,14 @@ COPY my_domain.key /etc/ssl/site/server.key # Add your instructions here # For example: -# ADD --chown=$APP_USER:$APP_GROUP ./myproject/ /var/www/html/ +# ADD --chown=$APP_USER:$APP_GROUP ./codeigniter4/ /var/www/html/ ``` #### Using docker run ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./codeigniter4:/var/www/html \ -v ./my_domain.crt:/etc/ssl/site/server.crt \ -v ./my_domain.key:/etc/ssl/site/server.key \ shinsenter/codeigniter4:latest @@ -103,7 +103,7 @@ services: web: image: shinsenter/codeigniter4:latest volumes: - - ./myproject:/var/www/html + - ./codeigniter4:/var/www/html - ./my_domain.crt:/etc/ssl/site/server.crt - ./my_domain.key:/etc/ssl/site/server.key ``` diff --git a/src/webapps/coolify/README.md b/src/webapps/coolify/README.md index 3399672b..e5903b42 100644 --- a/src/webapps/coolify/README.md +++ b/src/webapps/coolify/README.md @@ -35,14 +35,14 @@ When you mount an empty directory into the container, it will automatically down 1. Create an empty directory on your host machine for your project code. For example: ```shell -mkdir myproject +mkdir coolify ``` 2. Run the container and mount the empty directory as a volume. For example: ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./coolify:/var/www/html \ shinsenter/coolify:latest ``` @@ -83,14 +83,14 @@ COPY my_domain.key /etc/ssl/site/server.key # Add your instructions here # For example: -# ADD --chown=$APP_USER:$APP_GROUP ./myproject/ /var/www/html/ +# ADD --chown=$APP_USER:$APP_GROUP ./coolify/ /var/www/html/ ``` #### Using docker run ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./coolify:/var/www/html \ -v ./my_domain.crt:/etc/ssl/site/server.crt \ -v ./my_domain.key:/etc/ssl/site/server.key \ shinsenter/coolify:latest @@ -103,7 +103,7 @@ services: web: image: shinsenter/coolify:latest volumes: - - ./myproject:/var/www/html + - ./coolify:/var/www/html - ./my_domain.crt:/etc/ssl/site/server.crt - ./my_domain.key:/etc/ssl/site/server.key ``` diff --git a/src/webapps/drupal/README.md b/src/webapps/drupal/README.md index bbba2d30..efeecdec 100644 --- a/src/webapps/drupal/README.md +++ b/src/webapps/drupal/README.md @@ -35,14 +35,14 @@ When you mount an empty directory into the container, it will automatically down 1. Create an empty directory on your host machine for your project code. For example: ```shell -mkdir myproject +mkdir drupal ``` 2. Run the container and mount the empty directory as a volume. For example: ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./drupal:/var/www/html \ shinsenter/drupal:latest ``` @@ -83,14 +83,14 @@ COPY my_domain.key /etc/ssl/site/server.key # Add your instructions here # For example: -# ADD --chown=$APP_USER:$APP_GROUP ./myproject/ /var/www/html/ +# ADD --chown=$APP_USER:$APP_GROUP ./drupal/ /var/www/html/ ``` #### Using docker run ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./drupal:/var/www/html \ -v ./my_domain.crt:/etc/ssl/site/server.crt \ -v ./my_domain.key:/etc/ssl/site/server.key \ shinsenter/drupal:latest @@ -103,7 +103,7 @@ services: web: image: shinsenter/drupal:latest volumes: - - ./myproject:/var/www/html + - ./drupal:/var/www/html - ./my_domain.crt:/etc/ssl/site/server.crt - ./my_domain.key:/etc/ssl/site/server.key ``` diff --git a/src/webapps/espocrm/README.md b/src/webapps/espocrm/README.md index 1da47cb9..25b06621 100644 --- a/src/webapps/espocrm/README.md +++ b/src/webapps/espocrm/README.md @@ -35,14 +35,14 @@ When you mount an empty directory into the container, it will automatically down 1. Create an empty directory on your host machine for your project code. For example: ```shell -mkdir myproject +mkdir espocrm ``` 2. Run the container and mount the empty directory as a volume. For example: ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./espocrm:/var/www/html \ shinsenter/espocrm:latest ``` @@ -83,14 +83,14 @@ COPY my_domain.key /etc/ssl/site/server.key # Add your instructions here # For example: -# ADD --chown=$APP_USER:$APP_GROUP ./myproject/ /var/www/html/ +# ADD --chown=$APP_USER:$APP_GROUP ./espocrm/ /var/www/html/ ``` #### Using docker run ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./espocrm:/var/www/html \ -v ./my_domain.crt:/etc/ssl/site/server.crt \ -v ./my_domain.key:/etc/ssl/site/server.key \ shinsenter/espocrm:latest @@ -103,7 +103,7 @@ services: web: image: shinsenter/espocrm:latest volumes: - - ./myproject:/var/www/html + - ./espocrm:/var/www/html - ./my_domain.crt:/etc/ssl/site/server.crt - ./my_domain.key:/etc/ssl/site/server.key ``` diff --git a/src/webapps/flarum/README.md b/src/webapps/flarum/README.md index 0834af16..6eed00bf 100644 --- a/src/webapps/flarum/README.md +++ b/src/webapps/flarum/README.md @@ -35,14 +35,14 @@ When you mount an empty directory into the container, it will automatically down 1. Create an empty directory on your host machine for your project code. For example: ```shell -mkdir myproject +mkdir flarum ``` 2. Run the container and mount the empty directory as a volume. For example: ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./flarum:/var/www/html \ shinsenter/flarum:latest ``` @@ -83,14 +83,14 @@ COPY my_domain.key /etc/ssl/site/server.key # Add your instructions here # For example: -# ADD --chown=$APP_USER:$APP_GROUP ./myproject/ /var/www/html/ +# ADD --chown=$APP_USER:$APP_GROUP ./flarum/ /var/www/html/ ``` #### Using docker run ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./flarum:/var/www/html \ -v ./my_domain.crt:/etc/ssl/site/server.crt \ -v ./my_domain.key:/etc/ssl/site/server.key \ shinsenter/flarum:latest @@ -103,7 +103,7 @@ services: web: image: shinsenter/flarum:latest volumes: - - ./myproject:/var/www/html + - ./flarum:/var/www/html - ./my_domain.crt:/etc/ssl/site/server.crt - ./my_domain.key:/etc/ssl/site/server.key ``` diff --git a/src/webapps/flightphp/README.md b/src/webapps/flightphp/README.md index 9714400f..31fc1098 100644 --- a/src/webapps/flightphp/README.md +++ b/src/webapps/flightphp/README.md @@ -35,14 +35,14 @@ When you mount an empty directory into the container, it will automatically down 1. Create an empty directory on your host machine for your project code. For example: ```shell -mkdir myproject +mkdir flightphp ``` 2. Run the container and mount the empty directory as a volume. For example: ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./flightphp:/var/www/html \ shinsenter/flightphp:latest ``` @@ -83,14 +83,14 @@ COPY my_domain.key /etc/ssl/site/server.key # Add your instructions here # For example: -# ADD --chown=$APP_USER:$APP_GROUP ./myproject/ /var/www/html/ +# ADD --chown=$APP_USER:$APP_GROUP ./flightphp/ /var/www/html/ ``` #### Using docker run ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./flightphp:/var/www/html \ -v ./my_domain.crt:/etc/ssl/site/server.crt \ -v ./my_domain.key:/etc/ssl/site/server.key \ shinsenter/flightphp:latest @@ -103,7 +103,7 @@ services: web: image: shinsenter/flightphp:latest volumes: - - ./myproject:/var/www/html + - ./flightphp:/var/www/html - ./my_domain.crt:/etc/ssl/site/server.crt - ./my_domain.key:/etc/ssl/site/server.key ``` diff --git a/src/webapps/grav/README.md b/src/webapps/grav/README.md index 71ab33c0..78b1d076 100644 --- a/src/webapps/grav/README.md +++ b/src/webapps/grav/README.md @@ -35,14 +35,14 @@ When you mount an empty directory into the container, it will automatically down 1. Create an empty directory on your host machine for your project code. For example: ```shell -mkdir myproject +mkdir grav ``` 2. Run the container and mount the empty directory as a volume. For example: ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./grav:/var/www/html \ shinsenter/grav:latest ``` @@ -83,14 +83,14 @@ COPY my_domain.key /etc/ssl/site/server.key # Add your instructions here # For example: -# ADD --chown=$APP_USER:$APP_GROUP ./myproject/ /var/www/html/ +# ADD --chown=$APP_USER:$APP_GROUP ./grav/ /var/www/html/ ``` #### Using docker run ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./grav:/var/www/html \ -v ./my_domain.crt:/etc/ssl/site/server.crt \ -v ./my_domain.key:/etc/ssl/site/server.key \ shinsenter/grav:latest @@ -103,7 +103,7 @@ services: web: image: shinsenter/grav:latest volumes: - - ./myproject:/var/www/html + - ./grav:/var/www/html - ./my_domain.crt:/etc/ssl/site/server.crt - ./my_domain.key:/etc/ssl/site/server.key ``` diff --git a/src/webapps/hyperf/README.md b/src/webapps/hyperf/README.md index 5c4025fc..0e30559a 100644 --- a/src/webapps/hyperf/README.md +++ b/src/webapps/hyperf/README.md @@ -35,14 +35,14 @@ When you mount an empty directory into the container, it will automatically down 1. Create an empty directory on your host machine for your project code. For example: ```shell -mkdir myproject +mkdir hyperf ``` 2. Run the container and mount the empty directory as a volume. For example: ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./hyperf:/var/www/html \ shinsenter/hyperf:latest ``` @@ -83,14 +83,14 @@ COPY my_domain.key /etc/ssl/site/server.key # Add your instructions here # For example: -# ADD --chown=$APP_USER:$APP_GROUP ./myproject/ /var/www/html/ +# ADD --chown=$APP_USER:$APP_GROUP ./hyperf/ /var/www/html/ ``` #### Using docker run ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./hyperf:/var/www/html \ -v ./my_domain.crt:/etc/ssl/site/server.crt \ -v ./my_domain.key:/etc/ssl/site/server.key \ shinsenter/hyperf:latest @@ -103,7 +103,7 @@ services: web: image: shinsenter/hyperf:latest volumes: - - ./myproject:/var/www/html + - ./hyperf:/var/www/html - ./my_domain.crt:/etc/ssl/site/server.crt - ./my_domain.key:/etc/ssl/site/server.key ``` diff --git a/src/webapps/invoiceshelf/README.md b/src/webapps/invoiceshelf/README.md index 603b36b5..1f4fcd21 100644 --- a/src/webapps/invoiceshelf/README.md +++ b/src/webapps/invoiceshelf/README.md @@ -35,14 +35,14 @@ When you mount an empty directory into the container, it will automatically down 1. Create an empty directory on your host machine for your project code. For example: ```shell -mkdir myproject +mkdir invoiceshelf ``` 2. Run the container and mount the empty directory as a volume. For example: ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./invoiceshelf:/var/www/html \ shinsenter/invoiceshelf:latest ``` @@ -83,14 +83,14 @@ COPY my_domain.key /etc/ssl/site/server.key # Add your instructions here # For example: -# ADD --chown=$APP_USER:$APP_GROUP ./myproject/ /var/www/html/ +# ADD --chown=$APP_USER:$APP_GROUP ./invoiceshelf/ /var/www/html/ ``` #### Using docker run ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./invoiceshelf:/var/www/html \ -v ./my_domain.crt:/etc/ssl/site/server.crt \ -v ./my_domain.key:/etc/ssl/site/server.key \ shinsenter/invoiceshelf:latest @@ -103,7 +103,7 @@ services: web: image: shinsenter/invoiceshelf:latest volumes: - - ./myproject:/var/www/html + - ./invoiceshelf:/var/www/html - ./my_domain.crt:/etc/ssl/site/server.crt - ./my_domain.key:/etc/ssl/site/server.key ``` diff --git a/src/webapps/invoiceshelf/rootfs/etc/hooks/onready/boot-invoiceshelf b/src/webapps/invoiceshelf/rootfs/etc/hooks/onready/boot-invoiceshelf index 389397f8..253534cb 100755 --- a/src/webapps/invoiceshelf/rootfs/etc/hooks/onready/boot-invoiceshelf +++ b/src/webapps/invoiceshelf/rootfs/etc/hooks/onready/boot-invoiceshelf @@ -3,4 +3,3 @@ APP_PATH="$(app-path)" APP_ROOT="$(app-root)" debug-echo "Your web application must be in {$APP_PATH}." -touch $APP_PATH/database/database.sqlite &>/dev/null diff --git a/src/webapps/kirby/README.md b/src/webapps/kirby/README.md index 243f9571..90851661 100644 --- a/src/webapps/kirby/README.md +++ b/src/webapps/kirby/README.md @@ -35,14 +35,14 @@ When you mount an empty directory into the container, it will automatically down 1. Create an empty directory on your host machine for your project code. For example: ```shell -mkdir myproject +mkdir kirby ``` 2. Run the container and mount the empty directory as a volume. For example: ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./kirby:/var/www/html \ shinsenter/kirby:latest ``` @@ -83,14 +83,14 @@ COPY my_domain.key /etc/ssl/site/server.key # Add your instructions here # For example: -# ADD --chown=$APP_USER:$APP_GROUP ./myproject/ /var/www/html/ +# ADD --chown=$APP_USER:$APP_GROUP ./kirby/ /var/www/html/ ``` #### Using docker run ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./kirby:/var/www/html \ -v ./my_domain.crt:/etc/ssl/site/server.crt \ -v ./my_domain.key:/etc/ssl/site/server.key \ shinsenter/kirby:latest @@ -103,7 +103,7 @@ services: web: image: shinsenter/kirby:latest volumes: - - ./myproject:/var/www/html + - ./kirby:/var/www/html - ./my_domain.crt:/etc/ssl/site/server.crt - ./my_domain.key:/etc/ssl/site/server.key ``` diff --git a/src/webapps/laminas/README.md b/src/webapps/laminas/README.md index 4aca8ba7..f867a50e 100644 --- a/src/webapps/laminas/README.md +++ b/src/webapps/laminas/README.md @@ -35,14 +35,14 @@ When you mount an empty directory into the container, it will automatically down 1. Create an empty directory on your host machine for your project code. For example: ```shell -mkdir myproject +mkdir laminas ``` 2. Run the container and mount the empty directory as a volume. For example: ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./laminas:/var/www/html \ shinsenter/laminas:latest ``` @@ -83,14 +83,14 @@ COPY my_domain.key /etc/ssl/site/server.key # Add your instructions here # For example: -# ADD --chown=$APP_USER:$APP_GROUP ./myproject/ /var/www/html/ +# ADD --chown=$APP_USER:$APP_GROUP ./laminas/ /var/www/html/ ``` #### Using docker run ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./laminas:/var/www/html \ -v ./my_domain.crt:/etc/ssl/site/server.crt \ -v ./my_domain.key:/etc/ssl/site/server.key \ shinsenter/laminas:latest @@ -103,7 +103,7 @@ services: web: image: shinsenter/laminas:latest volumes: - - ./myproject:/var/www/html + - ./laminas:/var/www/html - ./my_domain.crt:/etc/ssl/site/server.crt - ./my_domain.key:/etc/ssl/site/server.key ``` diff --git a/src/webapps/laravel/README.md b/src/webapps/laravel/README.md index 6a410ea1..174eeb53 100644 --- a/src/webapps/laravel/README.md +++ b/src/webapps/laravel/README.md @@ -35,14 +35,14 @@ When you mount an empty directory into the container, it will automatically down 1. Create an empty directory on your host machine for your project code. For example: ```shell -mkdir myproject +mkdir laravel ``` 2. Run the container and mount the empty directory as a volume. For example: ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./laravel:/var/www/html \ shinsenter/laravel:latest ``` @@ -83,14 +83,14 @@ COPY my_domain.key /etc/ssl/site/server.key # Add your instructions here # For example: -# ADD --chown=$APP_USER:$APP_GROUP ./myproject/ /var/www/html/ +# ADD --chown=$APP_USER:$APP_GROUP ./laravel/ /var/www/html/ ``` #### Using docker run ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./laravel:/var/www/html \ -v ./my_domain.crt:/etc/ssl/site/server.crt \ -v ./my_domain.key:/etc/ssl/site/server.key \ shinsenter/laravel:latest @@ -103,7 +103,7 @@ services: web: image: shinsenter/laravel:latest volumes: - - ./myproject:/var/www/html + - ./laravel:/var/www/html - ./my_domain.crt:/etc/ssl/site/server.crt - ./my_domain.key:/etc/ssl/site/server.key ``` @@ -117,17 +117,17 @@ You can optionally set the following environment variables in the container to e | Environment Variable | Description | |----------------------------------|-------------------------| -| `LARAVEL_AUTO_MIGRATION` | Whether to automatically run database migrations when the app boots. | +| `LARAVEL_AUTO_MIGRATION` | Whether to automatically run database migrations when the app boots. Set to `0` to disable running migration. **Default is `1`**. | | `LARAVEL_AUTO_MIGRATION_OPTIONS` | Additional options/flags to pass to the `php artisan migrate` command. | -| `LARAVEL_ENABLE_QUEUE_WORKER` | Enables supervisor service for the Laravel queue worker. Set to `1` to start processing jobs. | +| `LARAVEL_ENABLE_QUEUE_WORKER` | Enables supervisor service for the Laravel queue worker. Set to `1` to start processing jobs. **Default is `0`**. | | `LARAVEL_QUEUE_WORKER_OPTIONS` | Defines custom options for the Laravel queue worker (e.g., connection, delay). | -| `LARAVEL_ENABLE_SCHEDULER` | Enables supervisor service for the Laravel scheduler. Set to `1` to run scheduled tasks. | +| `LARAVEL_ENABLE_SCHEDULER` | Enables supervisor service for the Laravel scheduler. Set to `0` to disable running scheduled tasks. **Default is `1`**. | | `LARAVEL_SCHEDULER_OPTIONS` | Specifies additional options for the scheduler execution. | -| `LARAVEL_ENABLE_HORIZON` | Enables supervisor service for Laravel Horizon, a dashboard for managing queues. | +| `LARAVEL_ENABLE_HORIZON` | Enables supervisor service for Laravel Horizon, a dashboard for managing queues. **Default is `0`**. | | `LARAVEL_HORIZON_OPTIONS` | Options for customizing Horizon behavior (e.g., environment, queue names). | -| `LARAVEL_ENABLE_PULSE` | Enables supervisor service for Laravel Pulse for application performance monitoring. | +| `LARAVEL_ENABLE_PULSE` | Enables supervisor service for Laravel Pulse for application performance monitoring. **Default is `0`**. | | `LARAVEL_PULSE_OPTIONS` | Configuration options for Laravel Pulse (e.g., port, storage). | -| `LARAVEL_ENABLE_REVERB` | Enables supervisor service for Laravel Reverb for real-time WebSocket communication. | +| `LARAVEL_ENABLE_REVERB` | Enables supervisor service for Laravel Reverb for real-time WebSocket communication. **Default is `0`**. | | `LARAVEL_REVERB_OPTIONS` | Configuration options for Laravel Reverb (e.g., port, storage). | diff --git a/src/webapps/magento/README.md b/src/webapps/magento/README.md index 7fc3d326..5d222850 100644 --- a/src/webapps/magento/README.md +++ b/src/webapps/magento/README.md @@ -35,14 +35,14 @@ When you mount an empty directory into the container, it will automatically down 1. Create an empty directory on your host machine for your project code. For example: ```shell -mkdir myproject +mkdir magento ``` 2. Run the container and mount the empty directory as a volume. For example: ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./magento:/var/www/html \ shinsenter/magento:latest ``` @@ -83,14 +83,14 @@ COPY my_domain.key /etc/ssl/site/server.key # Add your instructions here # For example: -# ADD --chown=$APP_USER:$APP_GROUP ./myproject/ /var/www/html/ +# ADD --chown=$APP_USER:$APP_GROUP ./magento/ /var/www/html/ ``` #### Using docker run ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./magento:/var/www/html \ -v ./my_domain.crt:/etc/ssl/site/server.crt \ -v ./my_domain.key:/etc/ssl/site/server.key \ shinsenter/magento:latest @@ -103,7 +103,7 @@ services: web: image: shinsenter/magento:latest volumes: - - ./myproject:/var/www/html + - ./magento:/var/www/html - ./my_domain.crt:/etc/ssl/site/server.crt - ./my_domain.key:/etc/ssl/site/server.key ``` diff --git a/src/webapps/mautic/README.md b/src/webapps/mautic/README.md index d18d491b..49ed2d25 100644 --- a/src/webapps/mautic/README.md +++ b/src/webapps/mautic/README.md @@ -35,14 +35,14 @@ When you mount an empty directory into the container, it will automatically down 1. Create an empty directory on your host machine for your project code. For example: ```shell -mkdir myproject +mkdir mautic ``` 2. Run the container and mount the empty directory as a volume. For example: ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./mautic:/var/www/html \ shinsenter/mautic:latest ``` @@ -83,14 +83,14 @@ COPY my_domain.key /etc/ssl/site/server.key # Add your instructions here # For example: -# ADD --chown=$APP_USER:$APP_GROUP ./myproject/ /var/www/html/ +# ADD --chown=$APP_USER:$APP_GROUP ./mautic/ /var/www/html/ ``` #### Using docker run ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./mautic:/var/www/html \ -v ./my_domain.crt:/etc/ssl/site/server.crt \ -v ./my_domain.key:/etc/ssl/site/server.key \ shinsenter/mautic:latest @@ -103,7 +103,7 @@ services: web: image: shinsenter/mautic:latest volumes: - - ./myproject:/var/www/html + - ./mautic:/var/www/html - ./my_domain.crt:/etc/ssl/site/server.crt - ./my_domain.key:/etc/ssl/site/server.key ``` diff --git a/src/webapps/phpmyadmin/README.md b/src/webapps/phpmyadmin/README.md index 23cc3258..2fd15c03 100644 --- a/src/webapps/phpmyadmin/README.md +++ b/src/webapps/phpmyadmin/README.md @@ -35,14 +35,14 @@ When you mount an empty directory into the container, it will automatically down 1. Create an empty directory on your host machine for your project code. For example: ```shell -mkdir myproject +mkdir phpmyadmin ``` 2. Run the container and mount the empty directory as a volume. For example: ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./phpmyadmin:/var/www/html \ shinsenter/phpmyadmin:latest ``` @@ -83,14 +83,14 @@ COPY my_domain.key /etc/ssl/site/server.key # Add your instructions here # For example: -# ADD --chown=$APP_USER:$APP_GROUP ./myproject/ /var/www/html/ +# ADD --chown=$APP_USER:$APP_GROUP ./phpmyadmin/ /var/www/html/ ``` #### Using docker run ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./phpmyadmin:/var/www/html \ -v ./my_domain.crt:/etc/ssl/site/server.crt \ -v ./my_domain.key:/etc/ssl/site/server.key \ shinsenter/phpmyadmin:latest @@ -103,7 +103,7 @@ services: web: image: shinsenter/phpmyadmin:latest volumes: - - ./myproject:/var/www/html + - ./phpmyadmin:/var/www/html - ./my_domain.crt:/etc/ssl/site/server.crt - ./my_domain.key:/etc/ssl/site/server.key ``` diff --git a/src/webapps/slim/README.md b/src/webapps/slim/README.md index 110f98e9..f76acfbc 100644 --- a/src/webapps/slim/README.md +++ b/src/webapps/slim/README.md @@ -35,14 +35,14 @@ When you mount an empty directory into the container, it will automatically down 1. Create an empty directory on your host machine for your project code. For example: ```shell -mkdir myproject +mkdir slim ``` 2. Run the container and mount the empty directory as a volume. For example: ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./slim:/var/www/html \ shinsenter/slim:latest ``` @@ -83,14 +83,14 @@ COPY my_domain.key /etc/ssl/site/server.key # Add your instructions here # For example: -# ADD --chown=$APP_USER:$APP_GROUP ./myproject/ /var/www/html/ +# ADD --chown=$APP_USER:$APP_GROUP ./slim/ /var/www/html/ ``` #### Using docker run ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./slim:/var/www/html \ -v ./my_domain.crt:/etc/ssl/site/server.crt \ -v ./my_domain.key:/etc/ssl/site/server.key \ shinsenter/slim:latest @@ -103,7 +103,7 @@ services: web: image: shinsenter/slim:latest volumes: - - ./myproject:/var/www/html + - ./slim:/var/www/html - ./my_domain.crt:/etc/ssl/site/server.crt - ./my_domain.key:/etc/ssl/site/server.key ``` diff --git a/src/webapps/spiral/README.md b/src/webapps/spiral/README.md index 5b4d2bbe..7843d577 100644 --- a/src/webapps/spiral/README.md +++ b/src/webapps/spiral/README.md @@ -35,14 +35,14 @@ When you mount an empty directory into the container, it will automatically down 1. Create an empty directory on your host machine for your project code. For example: ```shell -mkdir myproject +mkdir spiral ``` 2. Run the container and mount the empty directory as a volume. For example: ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./spiral:/var/www/html \ shinsenter/spiral:latest ``` @@ -83,14 +83,14 @@ COPY my_domain.key /etc/ssl/site/server.key # Add your instructions here # For example: -# ADD --chown=$APP_USER:$APP_GROUP ./myproject/ /var/www/html/ +# ADD --chown=$APP_USER:$APP_GROUP ./spiral/ /var/www/html/ ``` #### Using docker run ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./spiral:/var/www/html \ -v ./my_domain.crt:/etc/ssl/site/server.crt \ -v ./my_domain.key:/etc/ssl/site/server.key \ shinsenter/spiral:latest @@ -103,7 +103,7 @@ services: web: image: shinsenter/spiral:latest volumes: - - ./myproject:/var/www/html + - ./spiral:/var/www/html - ./my_domain.crt:/etc/ssl/site/server.crt - ./my_domain.key:/etc/ssl/site/server.key ``` diff --git a/src/webapps/statamic/README.md b/src/webapps/statamic/README.md index dadda72e..4bf78914 100644 --- a/src/webapps/statamic/README.md +++ b/src/webapps/statamic/README.md @@ -35,14 +35,14 @@ When you mount an empty directory into the container, it will automatically down 1. Create an empty directory on your host machine for your project code. For example: ```shell -mkdir myproject +mkdir statamic ``` 2. Run the container and mount the empty directory as a volume. For example: ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./statamic:/var/www/html \ shinsenter/statamic:latest ``` @@ -83,14 +83,14 @@ COPY my_domain.key /etc/ssl/site/server.key # Add your instructions here # For example: -# ADD --chown=$APP_USER:$APP_GROUP ./myproject/ /var/www/html/ +# ADD --chown=$APP_USER:$APP_GROUP ./statamic/ /var/www/html/ ``` #### Using docker run ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./statamic:/var/www/html \ -v ./my_domain.crt:/etc/ssl/site/server.crt \ -v ./my_domain.key:/etc/ssl/site/server.key \ shinsenter/statamic:latest @@ -103,7 +103,7 @@ services: web: image: shinsenter/statamic:latest volumes: - - ./myproject:/var/www/html + - ./statamic:/var/www/html - ./my_domain.crt:/etc/ssl/site/server.crt - ./my_domain.key:/etc/ssl/site/server.key ``` diff --git a/src/webapps/statamic/rootfs/etc/hooks/onready/boot-statamic b/src/webapps/statamic/rootfs/etc/hooks/onready/boot-statamic index 389397f8..253534cb 100755 --- a/src/webapps/statamic/rootfs/etc/hooks/onready/boot-statamic +++ b/src/webapps/statamic/rootfs/etc/hooks/onready/boot-statamic @@ -3,4 +3,3 @@ APP_PATH="$(app-path)" APP_ROOT="$(app-root)" debug-echo "Your web application must be in {$APP_PATH}." -touch $APP_PATH/database/database.sqlite &>/dev/null diff --git a/src/webapps/sulu/README.md b/src/webapps/sulu/README.md index 2a0befa5..bc1fe044 100644 --- a/src/webapps/sulu/README.md +++ b/src/webapps/sulu/README.md @@ -35,14 +35,14 @@ When you mount an empty directory into the container, it will automatically down 1. Create an empty directory on your host machine for your project code. For example: ```shell -mkdir myproject +mkdir sulu ``` 2. Run the container and mount the empty directory as a volume. For example: ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./sulu:/var/www/html \ shinsenter/sulu:latest ``` @@ -83,14 +83,14 @@ COPY my_domain.key /etc/ssl/site/server.key # Add your instructions here # For example: -# ADD --chown=$APP_USER:$APP_GROUP ./myproject/ /var/www/html/ +# ADD --chown=$APP_USER:$APP_GROUP ./sulu/ /var/www/html/ ``` #### Using docker run ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./sulu:/var/www/html \ -v ./my_domain.crt:/etc/ssl/site/server.crt \ -v ./my_domain.key:/etc/ssl/site/server.key \ shinsenter/sulu:latest @@ -103,7 +103,7 @@ services: web: image: shinsenter/sulu:latest volumes: - - ./myproject:/var/www/html + - ./sulu:/var/www/html - ./my_domain.crt:/etc/ssl/site/server.crt - ./my_domain.key:/etc/ssl/site/server.key ``` diff --git a/src/webapps/symfony/README.md b/src/webapps/symfony/README.md index 5c0e0b1a..810a60de 100644 --- a/src/webapps/symfony/README.md +++ b/src/webapps/symfony/README.md @@ -35,14 +35,14 @@ When you mount an empty directory into the container, it will automatically down 1. Create an empty directory on your host machine for your project code. For example: ```shell -mkdir myproject +mkdir symfony ``` 2. Run the container and mount the empty directory as a volume. For example: ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./symfony:/var/www/html \ shinsenter/symfony:latest ``` @@ -83,14 +83,14 @@ COPY my_domain.key /etc/ssl/site/server.key # Add your instructions here # For example: -# ADD --chown=$APP_USER:$APP_GROUP ./myproject/ /var/www/html/ +# ADD --chown=$APP_USER:$APP_GROUP ./symfony/ /var/www/html/ ``` #### Using docker run ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./symfony:/var/www/html \ -v ./my_domain.crt:/etc/ssl/site/server.crt \ -v ./my_domain.key:/etc/ssl/site/server.key \ shinsenter/symfony:latest @@ -103,7 +103,7 @@ services: web: image: shinsenter/symfony:latest volumes: - - ./myproject:/var/www/html + - ./symfony:/var/www/html - ./my_domain.crt:/etc/ssl/site/server.crt - ./my_domain.key:/etc/ssl/site/server.key ``` diff --git a/src/webapps/wordpress/README.md b/src/webapps/wordpress/README.md index 84325b59..936a4f66 100644 --- a/src/webapps/wordpress/README.md +++ b/src/webapps/wordpress/README.md @@ -38,14 +38,14 @@ When you mount an empty directory into the container, it will automatically down 1. Create an empty directory on your host machine for your project code. For example: ```shell -mkdir myproject +mkdir wordpress ``` 2. Run the container and mount the empty directory as a volume. For example: ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./wordpress:/var/www/html \ shinsenter/wordpress:latest ``` @@ -86,14 +86,14 @@ COPY my_domain.key /etc/ssl/site/server.key # Add your instructions here # For example: -# ADD --chown=$APP_USER:$APP_GROUP ./myproject/ /var/www/html/ +# ADD --chown=$APP_USER:$APP_GROUP ./wordpress/ /var/www/html/ ``` #### Using docker run ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./wordpress:/var/www/html \ -v ./my_domain.crt:/etc/ssl/site/server.crt \ -v ./my_domain.key:/etc/ssl/site/server.key \ shinsenter/wordpress:latest @@ -106,7 +106,7 @@ services: web: image: shinsenter/wordpress:latest volumes: - - ./myproject:/var/www/html + - ./wordpress:/var/www/html - ./my_domain.crt:/etc/ssl/site/server.crt - ./my_domain.key:/etc/ssl/site/server.key ``` diff --git a/src/webapps/wordpress/rootfs/etc/hooks/onready/boot-wordpress b/src/webapps/wordpress/rootfs/etc/hooks/onready/boot-wordpress index 2efcd0bf..253534cb 100755 --- a/src/webapps/wordpress/rootfs/etc/hooks/onready/boot-wordpress +++ b/src/webapps/wordpress/rootfs/etc/hooks/onready/boot-wordpress @@ -3,5 +3,3 @@ APP_PATH="$(app-path)" APP_ROOT="$(app-root)" debug-echo "Your web application must be in {$APP_PATH}." - -web-mkdir "$APP_PATH" "$WP_CLI_DIR" "$WP_CLI_CACHE_DIR" "$WP_CLI_PACKAGES_DIR" diff --git a/src/webapps/yii/README.md b/src/webapps/yii/README.md index 56fb3438..8132fcd9 100644 --- a/src/webapps/yii/README.md +++ b/src/webapps/yii/README.md @@ -35,14 +35,14 @@ When you mount an empty directory into the container, it will automatically down 1. Create an empty directory on your host machine for your project code. For example: ```shell -mkdir myproject +mkdir yii ``` 2. Run the container and mount the empty directory as a volume. For example: ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./yii:/var/www/html \ shinsenter/yii:latest ``` @@ -83,14 +83,14 @@ COPY my_domain.key /etc/ssl/site/server.key # Add your instructions here # For example: -# ADD --chown=$APP_USER:$APP_GROUP ./myproject/ /var/www/html/ +# ADD --chown=$APP_USER:$APP_GROUP ./yii/ /var/www/html/ ``` #### Using docker run ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./yii:/var/www/html \ -v ./my_domain.crt:/etc/ssl/site/server.crt \ -v ./my_domain.key:/etc/ssl/site/server.key \ shinsenter/yii:latest @@ -103,7 +103,7 @@ services: web: image: shinsenter/yii:latest volumes: - - ./myproject:/var/www/html + - ./yii:/var/www/html - ./my_domain.crt:/etc/ssl/site/server.crt - ./my_domain.key:/etc/ssl/site/server.key ``` diff --git a/src/webapps/zz-crater/README.md b/src/webapps/zz-crater/README.md index 3c6b0502..f32d349a 100644 --- a/src/webapps/zz-crater/README.md +++ b/src/webapps/zz-crater/README.md @@ -40,14 +40,14 @@ When you mount an empty directory into the container, it will automatically down 1. Create an empty directory on your host machine for your project code. For example: ```shell -mkdir myproject +mkdir crater ``` 2. Run the container and mount the empty directory as a volume. For example: ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./crater:/var/www/html \ shinsenter/crater:latest ``` @@ -88,14 +88,14 @@ COPY my_domain.key /etc/ssl/site/server.key # Add your instructions here # For example: -# ADD --chown=$APP_USER:$APP_GROUP ./myproject/ /var/www/html/ +# ADD --chown=$APP_USER:$APP_GROUP ./crater/ /var/www/html/ ``` #### Using docker run ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./crater:/var/www/html \ -v ./my_domain.crt:/etc/ssl/site/server.crt \ -v ./my_domain.key:/etc/ssl/site/server.key \ shinsenter/crater:latest @@ -108,7 +108,7 @@ services: web: image: shinsenter/crater:latest volumes: - - ./myproject:/var/www/html + - ./crater:/var/www/html - ./my_domain.crt:/etc/ssl/site/server.crt - ./my_domain.key:/etc/ssl/site/server.key ``` diff --git a/src/webapps/zz-crater/rootfs/etc/hooks/onready/boot-crater b/src/webapps/zz-crater/rootfs/etc/hooks/onready/boot-crater index 389397f8..253534cb 100755 --- a/src/webapps/zz-crater/rootfs/etc/hooks/onready/boot-crater +++ b/src/webapps/zz-crater/rootfs/etc/hooks/onready/boot-crater @@ -3,4 +3,3 @@ APP_PATH="$(app-path)" APP_ROOT="$(app-root)" debug-echo "Your web application must be in {$APP_PATH}." -touch $APP_PATH/database/database.sqlite &>/dev/null diff --git a/src/webapps/zz-fuelphp/README.md b/src/webapps/zz-fuelphp/README.md index 88389204..ef1346c4 100644 --- a/src/webapps/zz-fuelphp/README.md +++ b/src/webapps/zz-fuelphp/README.md @@ -40,14 +40,14 @@ When you mount an empty directory into the container, it will automatically down 1. Create an empty directory on your host machine for your project code. For example: ```shell -mkdir myproject +mkdir fuelphp ``` 2. Run the container and mount the empty directory as a volume. For example: ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./fuelphp:/var/www/html \ shinsenter/fuelphp:latest ``` @@ -88,14 +88,14 @@ COPY my_domain.key /etc/ssl/site/server.key # Add your instructions here # For example: -# ADD --chown=$APP_USER:$APP_GROUP ./myproject/ /var/www/html/ +# ADD --chown=$APP_USER:$APP_GROUP ./fuelphp/ /var/www/html/ ``` #### Using docker run ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./fuelphp:/var/www/html \ -v ./my_domain.crt:/etc/ssl/site/server.crt \ -v ./my_domain.key:/etc/ssl/site/server.key \ shinsenter/fuelphp:latest @@ -108,7 +108,7 @@ services: web: image: shinsenter/fuelphp:latest volumes: - - ./myproject:/var/www/html + - ./fuelphp:/var/www/html - ./my_domain.crt:/etc/ssl/site/server.crt - ./my_domain.key:/etc/ssl/site/server.key ``` diff --git a/src/webapps/zz-phpixie/README.md b/src/webapps/zz-phpixie/README.md index e4b3e991..80984e04 100644 --- a/src/webapps/zz-phpixie/README.md +++ b/src/webapps/zz-phpixie/README.md @@ -40,14 +40,14 @@ When you mount an empty directory into the container, it will automatically down 1. Create an empty directory on your host machine for your project code. For example: ```shell -mkdir myproject +mkdir phpixie ``` 2. Run the container and mount the empty directory as a volume. For example: ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./phpixie:/var/www/html \ shinsenter/phpixie:latest ``` @@ -88,14 +88,14 @@ COPY my_domain.key /etc/ssl/site/server.key # Add your instructions here # For example: -# ADD --chown=$APP_USER:$APP_GROUP ./myproject/ /var/www/html/ +# ADD --chown=$APP_USER:$APP_GROUP ./phpixie/ /var/www/html/ ``` #### Using docker run ```shell docker run -p 80:80 -p 443:443 -p 443:443/udp \ - -v ./myproject:/var/www/html \ + -v ./phpixie:/var/www/html \ -v ./my_domain.crt:/etc/ssl/site/server.crt \ -v ./my_domain.key:/etc/ssl/site/server.key \ shinsenter/phpixie:latest @@ -108,7 +108,7 @@ services: web: image: shinsenter/phpixie:latest volumes: - - ./myproject:/var/www/html + - ./phpixie:/var/www/html - ./my_domain.crt:/etc/ssl/site/server.crt - ./my_domain.key:/etc/ssl/site/server.key ```