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:
|
||||
|
||||
@@ -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