modified: README.md

modified:   docker-compose.yaml
	new file:   serv_nginx/docker-compose.yml
	renamed:    nginx/Dockerfile -> serv_nginx/nginx/Dockerfile
	renamed:    nginx/nginx-http.conf -> serv_nginx/nginx/nginx-http.conf
	renamed:    nginx/nginx-ssl.conf -> serv_nginx/nginx/nginx-ssl.conf
	renamed:    nginx/switch-config.sh -> serv_nginx/nginx/switch-config.sh
divide nginx service
This commit is contained in:
2025-08-01 05:04:59 +05:00
parent d06236556d
commit f379f2e6c5
7 changed files with 33 additions and 23 deletions
+2 -2
View File
@@ -10,6 +10,6 @@
1. DB, rest api *
2. Migrator *
3. spa *
4. Certbot
5. nginx
4. Certbot *
5. nginx *
-21
View File
@@ -1,25 +1,4 @@
services:
nginx:
build:
context: ./nginx
dockerfile: Dockerfile
env_file: .env
container_name: nginx
restart: unless-stopped
ports:
- "80:80"
- "443:443"
volumes:
- certbot_data:/etc/letsencrypt
- certbot_www:/var/www/certbot
- ./spa/vue/dist:/usr/share/nginx/html
- ./valitovgaziz/html:/usr/share/nginx/valitovgaziz/html
- ./easysite/easysite/build:/usr/share/nginx/easysite/html
networks:
- web-network
- internal
depends_on:
- certbot
# keycloak:
# build:
+31
View File
@@ -0,0 +1,31 @@
services:
nginx:
build:
context: ./nginx
dockerfile: Dockerfile
env_file: .env
container_name: nginx
restart: unless-stopped
ports:
- "80:80"
- "443:443"
volumes:
- certbot_data:/etc/letsencrypt
- certbot_www:/var/www/certbot
- ./spa/vue/dist:/usr/share/nginx/html
- ./valitovgaziz/html:/usr/share/nginx/valitovgaziz/html
- ./easysite/easysite/build:/usr/share/nginx/easysite/html
networks:
- web-network
- internal
depends_on:
- certbot
volumes:
certbot_data:
certbot_www:
networks:
web-network:
driver: bridge
internal: