“增加一些目录管理”
This commit is contained in:
@@ -8,7 +8,7 @@ services:
|
||||
image: bitwardenrs/server:1.16.3
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./bw_data:/data
|
||||
- /root/auto-server/data/config/back_files/bw_data:/data
|
||||
|
||||
networks:
|
||||
default:
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -1,19 +0,0 @@
|
||||
server {
|
||||
listen 80;
|
||||
index index.php index.html;
|
||||
server_name localhost;
|
||||
error_log /var/log/nginx/error.log;
|
||||
access_log /var/log/nginx/access.log;
|
||||
root /home/wwwroot/;
|
||||
|
||||
|
||||
location ~ .php {
|
||||
# try_files $uri =404;
|
||||
fastcgi_split_path_info ^(.+.php)(/.+)$;
|
||||
fastcgi_pass php:9000;
|
||||
fastcgi_index index.php;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||
include fastcgi_params;
|
||||
}
|
||||
}
|
||||
@@ -7,13 +7,13 @@ services:
|
||||
- DEFAULT_EMAIL=xxx@gmail.com
|
||||
image: nginx:latest
|
||||
volumes:
|
||||
- ./app:/home/wwwroot/
|
||||
- ./config/nginx/site.conf:/etc/nginx/conf.d/default.conf
|
||||
- /root/auto-server/data/config/back_files/filesServer/app:/home/wwwroot/
|
||||
- /root/auto-server/data/config/back_files/filesServer/config/nginx/site.conf:/etc/nginx/conf.d/default.conf
|
||||
|
||||
php:
|
||||
image: php:7.0-fpm
|
||||
volumes:
|
||||
- ./app:/home/wwwroot/
|
||||
- /root/auto-server/data/config/back_files/filesServer/app:/home/wwwroot/
|
||||
|
||||
networks:
|
||||
default:
|
||||
|
||||
@@ -8,7 +8,7 @@ services:
|
||||
- --character-set-server=utf8mb4
|
||||
- --collation-server=utf8mb4_unicode_ci
|
||||
volumes:
|
||||
- ./db_data:/var/lib/mysql
|
||||
- /root/auto-server/data/config/back_files/wordpress/db_data:/var/lib/mysql
|
||||
restart: always
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: somewordpress_wp
|
||||
|
||||
Reference in New Issue
Block a user