220317
This commit is contained in:
@@ -5,10 +5,10 @@ services:
|
||||
- VIRTUAL_HOST=example.test.com
|
||||
- LETSENCRYPT_HOST=example.test.com
|
||||
- DEFAULT_EMAIL=xxx@gmail.com
|
||||
image: bitwardenrs/server:1.16.3
|
||||
image: bitwardenrs/server:1.24.0
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /root/auto-server/data/config/back_files/bw_data:/data
|
||||
- ./bw_data:/data
|
||||
|
||||
networks:
|
||||
default:
|
||||
|
||||
@@ -7,13 +7,13 @@ services:
|
||||
- DEFAULT_EMAIL=xxx@gmail.com
|
||||
image: nginx:latest
|
||||
volumes:
|
||||
- /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
|
||||
- ./filesServer/app:/home/wwwroot/
|
||||
- ./filesServer/config/nginx/site.conf:/etc/nginx/conf.d/default.conf
|
||||
|
||||
php:
|
||||
image: php:7.0-fpm
|
||||
volumes:
|
||||
- /root/auto-server/data/config/back_files/filesServer/app:/home/wwwroot/
|
||||
- ./filesServer/app:/home/wwwroot/
|
||||
|
||||
networks:
|
||||
default:
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -0,0 +1,19 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
client_max_body_size 64m;
|
||||
|
||||
@@ -14,6 +14,7 @@ services:
|
||||
- nginx-certs:/etc/nginx/certs
|
||||
- nginx-vhost:/etc/nginx/vhost.d
|
||||
- nginx-share:/usr/share/nginx/html
|
||||
- ./client_max_body_size.conf:/etc/nginx/conf.d/client_max_body_size.conf:ro
|
||||
nginx-letsencrypt:
|
||||
image: jrcs/letsencrypt-nginx-proxy-companion
|
||||
depends_on:
|
||||
@@ -27,8 +28,7 @@ volumes:
|
||||
nginx-certs:
|
||||
nginx-vhost:
|
||||
nginx-share:
|
||||
|
||||
networks:
|
||||
default:
|
||||
external:
|
||||
name: nginx-proxy
|
||||
name: nginx-proxy
|
||||
|
||||
Reference in New Issue
Block a user