mirror of
https://github.com/jkaninda/nginx-php-fpm.git
synced 2026-11-13 08:37:16 +00:00
Modernize images and move PHP 8.1 to legacy
Tests / integration (8.2, alpine) (push) Canceled after 0s
Tests / integration (8.2, debian) (push) Canceled after 0s
Tests / integration (8.3, alpine) (push) Canceled after 0s
Tests / integration (8.3, debian) (push) Canceled after 0s
Tests / integration (8.4, alpine) (push) Canceled after 0s
Tests / integration (8.4, debian) (push) Canceled after 0s
Tests / integration (8.5, alpine) (push) Canceled after 0s
Tests / integration (8.5, debian) (push) Canceled after 0s
Tests / integration (8.2, alpine) (push) Canceled after 0s
Tests / integration (8.2, debian) (push) Canceled after 0s
Tests / integration (8.3, alpine) (push) Canceled after 0s
Tests / integration (8.3, debian) (push) Canceled after 0s
Tests / integration (8.4, alpine) (push) Canceled after 0s
Tests / integration (8.4, debian) (push) Canceled after 0s
Tests / integration (8.5, alpine) (push) Canceled after 0s
Tests / integration (8.5, debian) (push) Canceled after 0s
PHP 8.1 is end-of-life. It is dropped from the default build and test matrices. 8.1 and 8.1-alpine are still built, multi-arch, by the manual legacy job (workflow_dispatch with legacy=true), together with 7.2, 7.3, 7.4 and 8.0. This replaces manual-build.yml.
This commit is contained in:
1 parent
c602e1a0ad
commit
5abd5bc076
24 files changed
+857
-595
No files matched your search
+33
-29
@@ -1,30 +1,34 @@
|
||||
version: '3'
|
||||
services:
|
||||
mysql:
|
||||
image: mysql:8.0
|
||||
container_name: mysql
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
MYSQL_DATABASE: php
|
||||
MYSQL_ROOT_PASSWORD: password
|
||||
MYSQL_PASSWORD: password
|
||||
MYSQL_USER: php
|
||||
ports:
|
||||
- 3306:3306
|
||||
nginx-php-fpm:
|
||||
image: jkaninda/nginx-php-fpm:latest
|
||||
container_name: nginx-php-fpm
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- mysql
|
||||
environment:
|
||||
DB_HOST: mysql
|
||||
DB_PORT: 3306
|
||||
DB_DATABASE: php
|
||||
DB_USERNAME: php
|
||||
DB_PASSWORD: password
|
||||
volumes:
|
||||
#Project root
|
||||
- ./laravel:/var/www/html
|
||||
ports:
|
||||
- 80:80
|
||||
mysql:
|
||||
image: mysql:8.4
|
||||
container_name: mysql
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
MYSQL_DATABASE: php
|
||||
MYSQL_ROOT_PASSWORD: password
|
||||
MYSQL_PASSWORD: password
|
||||
MYSQL_USER: php
|
||||
healthcheck:
|
||||
test: ["CMD", "mysqladmin", "ping", "-h", "127.0.0.1", "-ppassword"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 30
|
||||
nginx-php-fpm:
|
||||
image: ${IMAGE:-jkaninda/nginx-php-fpm:latest}
|
||||
container_name: nginx-php-fpm
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
mysql:
|
||||
condition: service_healthy
|
||||
environment:
|
||||
DB_CONNECTION: mysql
|
||||
DB_HOST: mysql
|
||||
DB_PORT: 3306
|
||||
DB_DATABASE: php
|
||||
DB_USERNAME: php
|
||||
DB_PASSWORD: password
|
||||
CLIENT_MAX_BODY_SIZE: 20M
|
||||
volumes:
|
||||
- ./laravel:/var/www/html
|
||||
ports:
|
||||
- "${HTTP_PORT:-80}:80"
|
||||
Reference in new issue
Block a user