File tree Expand file tree Collapse file tree 5 files changed +23
-13
lines changed Expand file tree Collapse file tree 5 files changed +23
-13
lines changed Original file line number Diff line number Diff line change @@ -25,20 +25,22 @@ jobs:
2525 - name : Checkout.
2626 uses : actions/checkout@v5
2727
28- - name : Install docker compose .
28+ - name : Show docker version .
2929 run : |
30- sudo curl -L "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
31- sudo chmod +x /usr/local/bin/docker-compose
32- docker-compose --version
30+ docker version
31+ docker compose version
3332
3433 - name : Build and start containers.
35- run : docker- compose up -d --build
34+ run : docker compose up -d --build
3635
37- - name : Wait for container to be ready .
36+ - name : Wait for readiness .
3837 run : |
39- echo "Waiting 30 seconds for container initialization..."
40- sleep 30
41- docker logs yii2-apache
38+ for i in {1..60}; do
39+ if docker exec yii2-apache sh -lc "curl -ksS -o /dev/null -w '%{http_code}' https://localhost | grep -qE '200|302'"; then
40+ echo "Service is ready"; exit 0; fi
41+ sleep 2
42+ done
43+ echo "Service not ready"; docker logs yii2-apache; exit 1
4244
4345 - name : Codeceptcion build.
4446 run : docker exec yii2-apache vendor/bin/codecept build
Original file line number Diff line number Diff line change 1717- Bug #175 : Update allowed IPs in configuration for development purposes in ` configuration.md ` (@terabytesoftw )
1818- Bug #177 : Add missing config path to ECS configuration in ` ecs.php ` (@terabytesoftw )
1919- Bug #180 : Update paths to ignore in GitHub Actions workflow for pull requests and pushes (@terabytesoftw )
20+ - Bug #184 : Update Docker commands and badge links in ` README.md ` for accurate workflow status (@terabytesoftw )
2021
2122## 0.1.0 August 31, 2025
2223
Original file line number Diff line number Diff line change 1515 <a href="https://github.com/yiisoft/yii2/tree/22.0" target="_blank">
1616 <img src="https://img.shields.io/badge/22.0.x-0073AA.svg?style=for-the-badge&logo=yii&logoColor=white" alt="Yii 22.0.x">
1717 </a>
18- <a href="https://github.com/yii2-extensions/app-basic/actions/workflows/build.yml" target="_blank">
18+ <a href="https://github.com/yii2-extensions/app-basic/actions/workflows/build.yml?query=branch%3Aapache " target="_blank">
1919 <img src="https://img.shields.io/github/actions/workflow/status/yii2-extensions/app-basic/build.yml?branch=apache&style=for-the-badge&label=Codeception" alt="Codeception">
2020 </a>
21- <a href="https://github.com/yii2-extensions/app-basic/actions/workflows/static.yml" target="_blank">
21+ <a href="https://github.com/yii2-extensions/app-basic/actions/workflows/static.yml?query=branch%3Aapache " target="_blank">
2222 <img src="https://img.shields.io/github/actions/workflow/status/yii2-extensions/app-basic/static.yml?branch=apache&style=for-the-badge&label=PHPStan" alt="PHPStan">
2323 </a>
2424</p >
Original file line number Diff line number Diff line change 22date.timezone = UTC
33display_errors = Off
44expose_php = Off
5+ log_errors = On
6+ error_log = /proc/self/fd/2
57memory_limit = 512M
68post_max_size = 150M
79session.auto_start = Off
Original file line number Diff line number Diff line change 22process_name=%(program_name)s_%(process_num)02d
33command=/usr/local/bin/php /app/yii queue/listen --verbose=1 --color=0
44autorestart=true
5- autostart=true
6- numprocs=4
5+ # Enable only after installing yiisoft/yii2-queue; flipped on via image build or entrypoint.
6+ autostart=false
7+ # Keep demo light; can be raised later.
8+ numprocs=1
9+ stopasgroup=true
10+ killasgroup=true
11+ stopsignal=TERM
712stderr_logfile=/dev/stderr
813stderr_logfile_maxbytes=0
914stdout_logfile=/dev/stdout
You can’t perform that action at this time.
0 commit comments