|
|
|
|
@ -62,8 +62,6 @@ services:
|
|
|
|
|
PHP_POST_MAX_SIZE: "500M"
|
|
|
|
|
PHP_UPLOAD_MAX_FILE_SIZE: "500M"
|
|
|
|
|
PHP_OPCACHE_ENABLE: "1"
|
|
|
|
|
PHP_OPCACHE_VALIDATE_TIMESTAMPS: "0"
|
|
|
|
|
HEALTHCHECK_PATH: "/up"
|
|
|
|
|
|
|
|
|
|
# Laravel Auto-run Configuration
|
|
|
|
|
AUTORUN_ENABLED: "true"
|
|
|
|
|
@ -74,17 +72,12 @@ services:
|
|
|
|
|
AUTORUN_LARAVEL_ROUTE_CACHE: "true"
|
|
|
|
|
AUTORUN_LARAVEL_VIEW_CACHE: "true"
|
|
|
|
|
AUTORUN_LARAVEL_CONFIG_CACHE: "true"
|
|
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
- ./storage:/var/www/html/storage
|
|
|
|
|
depends_on:
|
|
|
|
|
- db
|
|
|
|
|
- redis
|
|
|
|
|
healthcheck:
|
|
|
|
|
test: ["CMD", "healthcheck-frankenphp"]
|
|
|
|
|
interval: 10s
|
|
|
|
|
timeout: 5s
|
|
|
|
|
retries: 3
|
|
|
|
|
start_period: 30s
|
|
|
|
|
networks:
|
|
|
|
|
- pixelfed-network
|
|
|
|
|
|
|
|
|
|
@ -98,12 +91,6 @@ services:
|
|
|
|
|
env_file:
|
|
|
|
|
- .env
|
|
|
|
|
environment:
|
|
|
|
|
# PHP Configuration
|
|
|
|
|
PHP_POST_MAX_SIZE: "500M"
|
|
|
|
|
PHP_UPLOAD_MAX_FILE_SIZE: "500M"
|
|
|
|
|
PHP_OPCACHE_ENABLE: "1"
|
|
|
|
|
PHP_OPCACHE_VALIDATE_TIMESTAMPS: "0"
|
|
|
|
|
|
|
|
|
|
# Laravel Auto-run Configuration
|
|
|
|
|
AUTORUN_ENABLED: "false"
|
|
|
|
|
AUTORUN_LARAVEL_MIGRATION: "false"
|
|
|
|
|
@ -113,13 +100,16 @@ services:
|
|
|
|
|
AUTORUN_LARAVEL_ROUTE_CACHE: "false"
|
|
|
|
|
AUTORUN_LARAVEL_VIEW_CACHE: "false"
|
|
|
|
|
AUTORUN_LARAVEL_CONFIG_CACHE: "true"
|
|
|
|
|
PHP_POST_MAX_SIZE: "500M"
|
|
|
|
|
PHP_UPLOAD_MAX_FILE_SIZE: "500M"
|
|
|
|
|
PHP_OPCACHE_ENABLE: "1"
|
|
|
|
|
volumes:
|
|
|
|
|
- ./storage:/var/www/html/storage
|
|
|
|
|
depends_on:
|
|
|
|
|
- db
|
|
|
|
|
- redis
|
|
|
|
|
healthcheck:
|
|
|
|
|
test: ["CMD", "healthcheck-horizon"]
|
|
|
|
|
test: ["CMD", "php", "artisan", "horizon:status"]
|
|
|
|
|
interval: 10s
|
|
|
|
|
timeout: 5s
|
|
|
|
|
retries: 3
|
|
|
|
|
@ -137,12 +127,6 @@ services:
|
|
|
|
|
env_file:
|
|
|
|
|
- .env
|
|
|
|
|
environment:
|
|
|
|
|
# PHP Configuration
|
|
|
|
|
PHP_POST_MAX_SIZE: "500M"
|
|
|
|
|
PHP_UPLOAD_MAX_FILE_SIZE: "500M"
|
|
|
|
|
PHP_OPCACHE_ENABLE: "1"
|
|
|
|
|
PHP_OPCACHE_VALIDATE_TIMESTAMPS: "0"
|
|
|
|
|
|
|
|
|
|
# Laravel Auto-run Configuration
|
|
|
|
|
AUTORUN_ENABLED: "false"
|
|
|
|
|
AUTORUN_LARAVEL_MIGRATION: "false"
|
|
|
|
|
@ -152,6 +136,9 @@ services:
|
|
|
|
|
AUTORUN_LARAVEL_ROUTE_CACHE: "false"
|
|
|
|
|
AUTORUN_LARAVEL_VIEW_CACHE: "false"
|
|
|
|
|
AUTORUN_LARAVEL_CONFIG_CACHE: "true"
|
|
|
|
|
PHP_POST_MAX_SIZE: "500M"
|
|
|
|
|
PHP_UPLOAD_MAX_FILE_SIZE: "500M"
|
|
|
|
|
PHP_OPCACHE_ENABLE: "1"
|
|
|
|
|
volumes:
|
|
|
|
|
- ./storage:/var/www/html/storage
|
|
|
|
|
depends_on:
|
|
|
|
|
@ -159,9 +146,6 @@ services:
|
|
|
|
|
- redis
|
|
|
|
|
healthcheck:
|
|
|
|
|
test: ["CMD", "healthcheck-schedule"]
|
|
|
|
|
interval: 10s
|
|
|
|
|
timeout: 5s
|
|
|
|
|
retries: 3
|
|
|
|
|
start_period: 10s
|
|
|
|
|
networks:
|
|
|
|
|
- pixelfed-network
|
|
|
|
|
|