This commit is contained in:
qq
2022-03-17 18:57:35 +08:00
parent f15f26f47c
commit 7bb78f4978
7 changed files with 9 additions and 7 deletions
+2 -2
View File
@@ -5,10 +5,10 @@ services:
- VIRTUAL_HOST=example.test.com - VIRTUAL_HOST=example.test.com
- LETSENCRYPT_HOST=example.test.com - LETSENCRYPT_HOST=example.test.com
- DEFAULT_EMAIL=xxx@gmail.com - DEFAULT_EMAIL=xxx@gmail.com
image: bitwardenrs/server:1.16.3 image: bitwardenrs/server:1.24.0
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- /root/auto-server/data/config/back_files/bw_data:/data - ./bw_data:/data
networks: networks:
default: default:
+3 -3
View File
@@ -7,13 +7,13 @@ services:
- DEFAULT_EMAIL=xxx@gmail.com - DEFAULT_EMAIL=xxx@gmail.com
image: nginx:latest image: nginx:latest
volumes: volumes:
- /root/auto-server/data/config/back_files/filesServer/app:/home/wwwroot/ - ./filesServer/app:/home/wwwroot/
- /root/auto-server/data/config/back_files/filesServer/config/nginx/site.conf:/etc/nginx/conf.d/default.conf - ./filesServer/config/nginx/site.conf:/etc/nginx/conf.d/default.conf
php: php:
image: php:7.0-fpm image: php:7.0-fpm
volumes: volumes:
- /root/auto-server/data/config/back_files/filesServer/app:/home/wwwroot/ - ./filesServer/app:/home/wwwroot/
networks: networks:
default: default:
@@ -0,0 +1,2 @@
client_max_body_size 64m;
+2 -2
View File
@@ -14,6 +14,7 @@ services:
- nginx-certs:/etc/nginx/certs - nginx-certs:/etc/nginx/certs
- nginx-vhost:/etc/nginx/vhost.d - nginx-vhost:/etc/nginx/vhost.d
- nginx-share:/usr/share/nginx/html - nginx-share:/usr/share/nginx/html
- ./client_max_body_size.conf:/etc/nginx/conf.d/client_max_body_size.conf:ro
nginx-letsencrypt: nginx-letsencrypt:
image: jrcs/letsencrypt-nginx-proxy-companion image: jrcs/letsencrypt-nginx-proxy-companion
depends_on: depends_on:
@@ -27,8 +28,7 @@ volumes:
nginx-certs: nginx-certs:
nginx-vhost: nginx-vhost:
nginx-share: nginx-share:
networks: networks:
default: default:
external: external:
name: nginx-proxy name: nginx-proxy