DONE: layout letter with letterhead and footer, notification for newly...

This commit is contained in:
ISMAIL MASSERAN
2026-06-28 02:16:49 +00:00
parent 94ecbe5887
commit 034ecf947f
400 changed files with 29802 additions and 5446 deletions
+9 -9
View File
@@ -4,15 +4,15 @@ FROM node:22 AS frontend-builder
WORKDIR /app/frontend
# Copy frontend package files
COPY SUTERA-frontend/package*.json ./
COPY SUTERA-frontend/pnpm-lock.yaml* ./
COPY fe/package*.json ./
COPY fe/pnpm-lock.yaml* ./
# Install pnpm and frontend dependencies (including dev dependencies for build)
RUN npm install -g pnpm
RUN pnpm install --frozen-lockfile
# Copy frontend source code
COPY SUTERA-frontend/ ./
COPY fe/ ./
# Build TWO frontend bundles (path-based):
# - Production: served at /
@@ -67,7 +67,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
WORKDIR /var/www
# Copy the entire Laravel application code into the container
COPY SUTERA-backend/ /var/www
COPY be/ /var/www
# Copy Composer from official image (avoids flaky getcomposer.org in CI)
COPY --from=composer:2 /usr/bin/composer /usr/local/bin/composer
@@ -115,11 +115,11 @@ RUN curl -o /usr/local/bin/php-fpm-healthcheck \
&& chmod +x /usr/local/bin/php-fpm-healthcheck
# Copy the initialization script
COPY SUTERA-backend/docker/common/unified/entrypoint.sh /usr/local/bin/entrypoint.sh
COPY be/docker/common/unified/entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh
# Copy supervisor configuration files
COPY SUTERA-backend/docker/common/unified/supervisor/supervisord.conf /etc/supervisor/supervisord.conf
COPY be/docker/common/unified/supervisor/supervisord.conf /etc/supervisor/supervisord.conf
# Create supervisor conf.d directory
RUN mkdir -p /etc/supervisor/conf.d
@@ -129,11 +129,11 @@ RUN mkdir -p /etc/supervisor/conf.d
# by mounting files into:
# - /etc/nginx/nginx.conf
# - /etc/supervisor/conf.d/
COPY SUTERA-backend/docker/common/unified/supervisor/unified.conf /etc/supervisor/conf.d/unified.conf
COPY SUTERA-backend/docker/common/unified/nginx/nginx.conf /etc/nginx/nginx.conf
COPY be/docker/common/unified/supervisor/unified.conf /etc/supervisor/conf.d/unified.conf
COPY be/docker/common/unified/nginx/nginx.conf /etc/nginx/nginx.conf
# Copy the initial storage structure
COPY SUTERA-backend/storage /var/www/storage-init
COPY be/storage /var/www/storage-init
# Copy PHP extensions and libraries from the builder stage
COPY --from=builder /usr/local/lib/php/extensions/ /usr/local/lib/php/extensions/
@@ -2,7 +2,7 @@ services:
app:
build:
context: .
dockerfile: ./SUTERA-backend/docker/common/unified/Dockerfile
dockerfile: ./be/docker/common/unified/Dockerfile
platforms:
- linux/amd64
- linux/arm64
@@ -23,7 +23,7 @@ services:
- app-storage-production:/var/www/storage
- app-logs-production:/var/www/storage/logs
- ./.env.production:/var/www/.env:ro
- ./SUTERA-backend/docker/production/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
- ./be/docker/production/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
networks:
- sutera-production-network
depends_on:
+2 -2
View File
@@ -2,7 +2,7 @@ services:
app:
build:
context: .
dockerfile: ./SUTERA-backend/docker/common/unified/Dockerfile
dockerfile: ./be/docker/common/unified/Dockerfile
args:
ENV: staging
platforms:
@@ -87,7 +87,7 @@ services:
- POSTGRES_PASSWORD=${DB_PASSWORD}
volumes:
- postgres-data-staging:/var/lib/postgres
- ./SUTERA-backend/docker/postgres/conf.d:/etc/postgres/conf.d:ro
- ./be/docker/postgres/conf.d:/etc/postgres/conf.d:ro
networks:
- sutera-staging-network
healthcheck:
@@ -2,7 +2,7 @@ services:
app:
build:
context: .
dockerfile: ./SUTERA-backend/docker/common/unified/Dockerfile
dockerfile: ./be/docker/common/unified/Dockerfile
platforms:
- linux/amd64
- linux/arm64
@@ -28,7 +28,7 @@ services:
- app-storage-training:/var/www/storage
- app-logs-training:/var/www/storage/logs
- ./.env.training:/var/www/.env:ro
- ./SUTERA-backend/docker/training/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
- ./be/docker/training/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
networks:
- sutera-training-network
depends_on:
@@ -84,7 +84,7 @@ services:
- POSTGRES_PASSWORD=${DB_PASSWORD}
volumes:
- postgres-data-training:/var/lib/postgres
- ./SUTERA-backend/docker/postgres/conf.d:/etc/postgres/conf.d:ro
- ./be/docker/postgres/conf.d:/etc/postgres/conf.d:ro
networks:
- sutera-training-network
healthcheck: