#tradewind:fix nginx & zip
This commit is contained in:
@@ -14,7 +14,7 @@ services:
|
||||
- ./nginx/sources.list:/etc/apt/sources.list
|
||||
- ${LOCAL_CODE_ROOT}:/var/www/http
|
||||
- ./log/nginx:/var/log/nginx
|
||||
container_name: nginx-server
|
||||
container_name: nginx
|
||||
restart: always
|
||||
php7.4:
|
||||
build:
|
||||
@@ -25,22 +25,19 @@ services:
|
||||
- ${LOCAL_CODE_ROOT}:/var/www/http
|
||||
networks:
|
||||
- server
|
||||
container_name: php7.4
|
||||
container_name: php74
|
||||
ports:
|
||||
- 9000:9000
|
||||
restart: always
|
||||
mysql: # 添加 mysql 服务
|
||||
mysql:
|
||||
build:
|
||||
context: mysql/
|
||||
dockerfile: dockerfile
|
||||
restart: always
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: root
|
||||
# command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci # 设置编码
|
||||
# command: mysqld --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci #设置utf8字符集
|
||||
command: --default-authentication-plugin=mysql_native_password
|
||||
# volumes:
|
||||
# - ${MYSQL_DATA_PATH}:/var/lib/mysql
|
||||
# platform: linux/amd64 # apple silicon
|
||||
networks:
|
||||
- server
|
||||
ports:
|
||||
|
||||
Reference in New Issue
Block a user