feat: add yalarba-nuxt to infra, wire fonts, switch nginx from static SPA to SSR proxy
This commit is contained in:
@@ -43,7 +43,6 @@ services:
|
||||
- certbot_data:/etc/letsencrypt
|
||||
- certbot_www:/var/www/certbot
|
||||
- ./stubSite:/usr/share/nginx/stub/html
|
||||
- ./yalarba/serv_spa/spa/vue/dist:/usr/share/nginx/yalarba/html
|
||||
- ./BB/bbvue/dist:/usr/share/nginx/begushiybashkir/html
|
||||
- analytics_logs:/var/log/analytics:ro
|
||||
networks:
|
||||
@@ -66,6 +65,8 @@ services:
|
||||
condition: service_healthy
|
||||
api_yal:
|
||||
condition: service_healthy
|
||||
yalarba:
|
||||
condition: service_healthy
|
||||
valitovgaziz:
|
||||
condition: service_healthy
|
||||
healthcheck:
|
||||
@@ -320,6 +321,27 @@ services:
|
||||
retries: 3
|
||||
start_period: 40s
|
||||
|
||||
# Nuxt 4 SPA для yalarba.ru
|
||||
yalarba:
|
||||
build:
|
||||
context: ./yalarba/yalarba-nuxt
|
||||
dockerfile: Dockerfile
|
||||
container_name: yalarba
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
NODE_ENV: production
|
||||
HOST: 0.0.0.0
|
||||
PORT: 3000
|
||||
NUXT_PUBLIC_API_BASE: /api/v1
|
||||
NUXT_PUBLIC_APP_URL: https://yalarba.ru
|
||||
networks:
|
||||
- web-network
|
||||
- app-network
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--spider", "http://localhost:3000/api/health"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
|
||||
volumes:
|
||||
certbot_data: # volume для данных Certbot
|
||||
|
||||
Reference in New Issue
Block a user