Update nginx containter

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
Bensuperpc committed 2023-03-19 13:01:07 +01:00
1 parent de813d0f66
commit 6c244e3e68
21 files changed
+57 -10

No files matched your search

+4
View File
@@ -21,3 +21,7 @@ services:
--webroot-path=/var/www/flask --domain bensuperpc.org --domain www.bensuperpc.org
--webroot-path=/var/www/jellyfin --domain jellyfin.bensuperpc.org --domain www.jellyfin.bensuperpc.org
--webroot-path=/var/www/wordpress --domain wordpress.bensuperpc.org --domain www.wordpress.bensuperpc.org
volumes:
certbot-cert:
name: certbot-cert
+12
View File
@@ -45,3 +45,15 @@ services:
- flask_db
networks:
- app-network
volumes:
postgres-data:
name: postgres-data
# flask:
# name: flask
# driver: local
# driver_opts:
# type: bind
# device: ":./bensuperpc_website"
# o: bind
+2 -1
View File
@@ -15,7 +15,8 @@ services:
volumes:
- wordpress:/var/www/wordpress
- jellyfin:/var/www/jellyfin
- ./nginx-conf:/etc/nginx/conf.d
- ./nginx/conf.d:/etc/nginx/conf.d:ro
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
- certbot-cert:/etc/letsencrypt:ro
networks:
- app-network
-8
View File
@@ -1,12 +1,6 @@
version: "3.9"
volumes:
certbot-cert:
name: certbot-cert
wordpress:
name: wordpress
dbdata:
name: dbdata
qbittorrent-downloads:
name: qbittorrent-downloads
qbittorrent-conf:
@@ -19,5 +13,3 @@ volumes:
name: jellyfin-movies
jellyfin:
name: jellyfin
postgres-data:
name: postgres-data
+7 -1
View File
@@ -53,4 +53,10 @@ services:
depends_on:
- wp_db
networks:
- app-network
- app-network
volumes:
wordpress:
name: wordpress
dbdata:
name: dbdata
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+32
View File
@@ -0,0 +1,32 @@
user nginx;
worker_processes auto;
error_log /var/log/nginx/error.log notice;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log /var/log/nginx/access.log main;
sendfile on;
#tcp_nopush on;
keepalive_timeout 65;
#gzip on;
include /etc/nginx/conf.d/*.conf;
}