upgrade
This commit is contained in:
parent
1f0ecc2d28
commit
aad3b1f70f
@ -1,4 +1,8 @@
|
|||||||
IMAGE_BASE=registry.cn-hangzhou.aliyuncs.com/aix_chenc
|
IMAGE_BASE=registry.cn-hangzhou.aliyuncs.com/aix_chenc
|
||||||
|
|
||||||
|
################ Net Congfig ######################
|
||||||
|
NET_SUBNET=10.12.25
|
||||||
|
|
||||||
################ Elasticsearch ######################
|
################ Elasticsearch ######################
|
||||||
ELK_VERSION=7.17.10
|
ELK_VERSION=7.17.10
|
||||||
ELASTICSEARCH_HOST_HTTP_PORT=9200
|
ELASTICSEARCH_HOST_HTTP_PORT=9200
|
||||||
|
|||||||
@ -7,8 +7,8 @@ networks:
|
|||||||
ipam:
|
ipam:
|
||||||
driver: default
|
driver: default
|
||||||
config:
|
config:
|
||||||
- gateway: 10.12.25.1
|
- gateway: ${NET_SUBNET:-10.12.25}.1
|
||||||
subnet: 10.12.25.0/24
|
subnet: ${NET_SUBNET:-10.12.25}.0/24
|
||||||
driver_opts:
|
driver_opts:
|
||||||
com.docker.network.bridge.name: aix-docker-cc
|
com.docker.network.bridge.name: aix-docker-cc
|
||||||
|
|
||||||
@ -51,7 +51,7 @@ services:
|
|||||||
hard: 65536
|
hard: 65536
|
||||||
networks:
|
networks:
|
||||||
aix-docker-cc:
|
aix-docker-cc:
|
||||||
ipv4_address: 10.12.25.10
|
ipv4_address: ${NET_SUBNET:-10.12.25}.10
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
|
|
||||||
@ -71,7 +71,7 @@ services:
|
|||||||
- "./openresty/config/rewrite:/usr/local/openresty/nginx/conf/rewrite"
|
- "./openresty/config/rewrite:/usr/local/openresty/nginx/conf/rewrite"
|
||||||
networks:
|
networks:
|
||||||
aix-docker-cc:
|
aix-docker-cc:
|
||||||
ipv4_address: 10.12.25.2
|
ipv4_address: ${NET_SUBNET:-10.12.25}.2
|
||||||
depends_on:
|
depends_on:
|
||||||
- php74
|
- php74
|
||||||
- php73
|
- php73
|
||||||
@ -92,7 +92,7 @@ services:
|
|||||||
command: ["redis-server","/etc/redis/redis.conf"]
|
command: ["redis-server","/etc/redis/redis.conf"]
|
||||||
networks:
|
networks:
|
||||||
aix-docker-cc:
|
aix-docker-cc:
|
||||||
ipv4_address: 10.12.25.3
|
ipv4_address: ${NET_SUBNET:-10.12.25}.3
|
||||||
|
|
||||||
php73:
|
php73:
|
||||||
image: ${IMAGE_BASE}/php:7.3
|
image: ${IMAGE_BASE}/php:7.3
|
||||||
@ -104,7 +104,7 @@ services:
|
|||||||
working_dir: /data/wwwroot/
|
working_dir: /data/wwwroot/
|
||||||
networks:
|
networks:
|
||||||
aix-docker-cc:
|
aix-docker-cc:
|
||||||
ipv4_address: 10.12.25.73
|
ipv4_address: ${NET_SUBNET:-10.12.25}.73
|
||||||
depends_on:
|
depends_on:
|
||||||
- elasticsearch
|
- elasticsearch
|
||||||
- redis
|
- redis
|
||||||
@ -121,13 +121,13 @@ services:
|
|||||||
working_dir: /data/wwwroot/
|
working_dir: /data/wwwroot/
|
||||||
networks:
|
networks:
|
||||||
aix-docker-cc:
|
aix-docker-cc:
|
||||||
ipv4_address: 10.12.25.74
|
ipv4_address: ${NET_SUBNET:-10.12.25}.74
|
||||||
depends_on:
|
depends_on:
|
||||||
- elasticsearch
|
- elasticsearch
|
||||||
- redis
|
- redis
|
||||||
|
|
||||||
php81:
|
php81:
|
||||||
image: ${IMAGE_BASE}/php:8.1.21
|
image: ${IMAGE_BASE}/php:8.1.24
|
||||||
container_name: php81
|
container_name: php81
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
@ -136,7 +136,7 @@ services:
|
|||||||
working_dir: /data/wwwroot/
|
working_dir: /data/wwwroot/
|
||||||
networks:
|
networks:
|
||||||
aix-docker-cc:
|
aix-docker-cc:
|
||||||
ipv4_address: 10.12.25.81
|
ipv4_address: ${NET_SUBNET:-10.12.25}.81
|
||||||
depends_on:
|
depends_on:
|
||||||
- elasticsearch
|
- elasticsearch
|
||||||
- redis
|
- redis
|
||||||
|
|||||||
@ -110,22 +110,22 @@ pm = dynamic
|
|||||||
; forget to tweak pm.* to fit your needs.
|
; forget to tweak pm.* to fit your needs.
|
||||||
; Note: Used when pm is set to 'static', 'dynamic' or 'ondemand'
|
; Note: Used when pm is set to 'static', 'dynamic' or 'ondemand'
|
||||||
; Note: This value is mandatory.
|
; Note: This value is mandatory.
|
||||||
pm.max_children = 5
|
pm.max_children = 50
|
||||||
|
|
||||||
; The number of child processes created on startup.
|
; The number of child processes created on startup.
|
||||||
; Note: Used only when pm is set to 'dynamic'
|
; Note: Used only when pm is set to 'dynamic'
|
||||||
; Default Value: min_spare_servers + (max_spare_servers - min_spare_servers) / 2
|
; Default Value: min_spare_servers + (max_spare_servers - min_spare_servers) / 2
|
||||||
pm.start_servers = 2
|
pm.start_servers = 10
|
||||||
|
|
||||||
; The desired minimum number of idle server processes.
|
; The desired minimum number of idle server processes.
|
||||||
; Note: Used only when pm is set to 'dynamic'
|
; Note: Used only when pm is set to 'dynamic'
|
||||||
; Note: Mandatory when pm is set to 'dynamic'
|
; Note: Mandatory when pm is set to 'dynamic'
|
||||||
pm.min_spare_servers = 1
|
pm.min_spare_servers = 5
|
||||||
|
|
||||||
; The desired maximum number of idle server processes.
|
; The desired maximum number of idle server processes.
|
||||||
; Note: Used only when pm is set to 'dynamic'
|
; Note: Used only when pm is set to 'dynamic'
|
||||||
; Note: Mandatory when pm is set to 'dynamic'
|
; Note: Mandatory when pm is set to 'dynamic'
|
||||||
pm.max_spare_servers = 3
|
pm.max_spare_servers = 25
|
||||||
|
|
||||||
; The number of seconds after which an idle process will be killed.
|
; The number of seconds after which an idle process will be killed.
|
||||||
; Note: Used only when pm is set to 'ondemand'
|
; Note: Used only when pm is set to 'ondemand'
|
||||||
|
|||||||
1
php/php73/etc/php/conf.d/docker-php-ext-imagick.ini
Normal file
1
php/php73/etc/php/conf.d/docker-php-ext-imagick.ini
Normal file
@ -0,0 +1 @@
|
|||||||
|
extension=imagick.so
|
||||||
@ -684,7 +684,7 @@ auto_globals_jit = On
|
|||||||
; Its value may be 0 to disable the limit. It is ignored if POST data reading
|
; Its value may be 0 to disable the limit. It is ignored if POST data reading
|
||||||
; is disabled through enable_post_data_reading.
|
; is disabled through enable_post_data_reading.
|
||||||
; http://php.net/post-max-size
|
; http://php.net/post-max-size
|
||||||
post_max_size = 8M
|
post_max_size = 50M
|
||||||
|
|
||||||
; Automatically add files before PHP document.
|
; Automatically add files before PHP document.
|
||||||
; http://php.net/auto-prepend-file
|
; http://php.net/auto-prepend-file
|
||||||
@ -836,7 +836,7 @@ file_uploads = On
|
|||||||
|
|
||||||
; Maximum allowed size for uploaded files.
|
; Maximum allowed size for uploaded files.
|
||||||
; http://php.net/upload-max-filesize
|
; http://php.net/upload-max-filesize
|
||||||
upload_max_filesize = 2M
|
upload_max_filesize = 50M
|
||||||
|
|
||||||
; Maximum number of files that can be uploaded via a single request
|
; Maximum number of files that can be uploaded via a single request
|
||||||
max_file_uploads = 20
|
max_file_uploads = 20
|
||||||
|
|||||||
@ -113,22 +113,22 @@ pm = dynamic
|
|||||||
; forget to tweak pm.* to fit your needs.
|
; forget to tweak pm.* to fit your needs.
|
||||||
; Note: Used when pm is set to 'static', 'dynamic' or 'ondemand'
|
; Note: Used when pm is set to 'static', 'dynamic' or 'ondemand'
|
||||||
; Note: This value is mandatory.
|
; Note: This value is mandatory.
|
||||||
pm.max_children = 5
|
pm.max_children = 50
|
||||||
|
|
||||||
; The number of child processes created on startup.
|
; The number of child processes created on startup.
|
||||||
; Note: Used only when pm is set to 'dynamic'
|
; Note: Used only when pm is set to 'dynamic'
|
||||||
; Default Value: (min_spare_servers + max_spare_servers) / 2
|
; Default Value: (min_spare_servers + max_spare_servers) / 2
|
||||||
pm.start_servers = 2
|
pm.start_servers = 10
|
||||||
|
|
||||||
; The desired minimum number of idle server processes.
|
; The desired minimum number of idle server processes.
|
||||||
; Note: Used only when pm is set to 'dynamic'
|
; Note: Used only when pm is set to 'dynamic'
|
||||||
; Note: Mandatory when pm is set to 'dynamic'
|
; Note: Mandatory when pm is set to 'dynamic'
|
||||||
pm.min_spare_servers = 1
|
pm.min_spare_servers = 5
|
||||||
|
|
||||||
; The desired maximum number of idle server processes.
|
; The desired maximum number of idle server processes.
|
||||||
; Note: Used only when pm is set to 'dynamic'
|
; Note: Used only when pm is set to 'dynamic'
|
||||||
; Note: Mandatory when pm is set to 'dynamic'
|
; Note: Mandatory when pm is set to 'dynamic'
|
||||||
pm.max_spare_servers = 3
|
pm.max_spare_servers = 25
|
||||||
|
|
||||||
; The number of rate to spawn child processes at once.
|
; The number of rate to spawn child processes at once.
|
||||||
; Note: Used only when pm is set to 'dynamic'
|
; Note: Used only when pm is set to 'dynamic'
|
||||||
|
|||||||
1
php/php81/etc/php/conf.d/docker-php-ext-imagick.ini
Normal file
1
php/php81/etc/php/conf.d/docker-php-ext-imagick.ini
Normal file
@ -0,0 +1 @@
|
|||||||
|
extension=imagick.so
|
||||||
@ -693,7 +693,7 @@ auto_globals_jit = On
|
|||||||
; Its value may be 0 to disable the limit. It is ignored if POST data reading
|
; Its value may be 0 to disable the limit. It is ignored if POST data reading
|
||||||
; is disabled through enable_post_data_reading.
|
; is disabled through enable_post_data_reading.
|
||||||
; https://php.net/post-max-size
|
; https://php.net/post-max-size
|
||||||
post_max_size = 8M
|
post_max_size = 50M
|
||||||
|
|
||||||
; Automatically add files before PHP document.
|
; Automatically add files before PHP document.
|
||||||
; https://php.net/auto-prepend-file
|
; https://php.net/auto-prepend-file
|
||||||
@ -845,7 +845,7 @@ file_uploads = On
|
|||||||
|
|
||||||
; Maximum allowed size for uploaded files.
|
; Maximum allowed size for uploaded files.
|
||||||
; https://php.net/upload-max-filesize
|
; https://php.net/upload-max-filesize
|
||||||
upload_max_filesize = 2M
|
upload_max_filesize = 50M
|
||||||
|
|
||||||
; Maximum number of files that can be uploaded via a single request
|
; Maximum number of files that can be uploaded via a single request
|
||||||
max_file_uploads = 20
|
max_file_uploads = 20
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user