#tradewind:update php8.3 pecl
This commit is contained in:
@@ -5,17 +5,34 @@ services:
|
||||
build:
|
||||
context: ./nginx/
|
||||
dockerfile: dockerfile
|
||||
ports:
|
||||
- "80:80"
|
||||
networks:
|
||||
- server
|
||||
network_mode: host
|
||||
volumes:
|
||||
- ./nginx/conf.d:/etc/nginx/conf.d
|
||||
- ./nginx/sources.list:/etc/apt/sources.list
|
||||
- ${LOCAL_CODE_ROOT}:/var/www/http
|
||||
- /var/www:/var/www
|
||||
- ./log/nginx:/var/log/nginx
|
||||
container_name: nginx
|
||||
restart: always
|
||||
profiles:
|
||||
- nginx-host
|
||||
nginx-bridge:
|
||||
build:
|
||||
context: ./nginx/
|
||||
dockerfile: dockerfile
|
||||
volumes:
|
||||
- ./nginx/conf.d:/etc/nginx/conf.d
|
||||
- ./nginx/sources.list:/etc/apt/sources.list
|
||||
- /var/www:/var/www
|
||||
- ./log/nginx:/var/log/nginx
|
||||
container_name: nginx
|
||||
restart: always
|
||||
networks:
|
||||
- server
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
profiles:
|
||||
- nginx-bridge
|
||||
php71:
|
||||
build:
|
||||
context: ./php7.1/
|
||||
@@ -67,6 +84,10 @@ services:
|
||||
restart: always
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: root
|
||||
TZ: Asia/Shanghai
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- ./data/mysql:/var/lib/mysql
|
||||
command: --default-authentication-plugin=mysql_native_password
|
||||
# platform: linux/amd64 # apple silicon
|
||||
networks:
|
||||
@@ -81,6 +102,10 @@ services:
|
||||
restart: always
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: root
|
||||
TZ: Asia/Shanghai
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- ./data/mysql8:/var/lib/mysql
|
||||
command: --default-authentication-plugin=mysql_native_password
|
||||
networks:
|
||||
- server
|
||||
@@ -123,4 +148,4 @@ services:
|
||||
ipc: host
|
||||
container_name: node
|
||||
networks:
|
||||
server:
|
||||
server:
|
||||
|
||||
Reference in New Issue
Block a user