f7f8a91a85
Production CI / validate-and-build (push) Failing after 1m2s
- Created branding.config.ts to define branding settings including app title, support contact information, and working hours. - Added brandingAssets.ts to import and export logo and login images for the Sepehr tenant. - Introduced config.ts to specify application type as POS for the Sepehr tenant.
64 lines
1.3 KiB
YAML
64 lines
1.3 KiB
YAML
version: "3.8"
|
|
|
|
services:
|
|
app_tis:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
args:
|
|
TENANT: tis
|
|
DIST_DIR: tis
|
|
|
|
ports:
|
|
- "8091:8090"
|
|
restart: unless-stopped
|
|
|
|
app_sepehr:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
args:
|
|
TENANT: sepehr
|
|
DIST_DIR: sepehr
|
|
|
|
ports:
|
|
- "8092:8090"
|
|
restart: unless-stopped
|
|
|
|
app_default:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
args:
|
|
TENANT: default
|
|
DIST_DIR: production
|
|
|
|
ports:
|
|
- "8090:8090"
|
|
restart: unless-stopped
|
|
|
|
# labels:
|
|
# - "traefik.enable=true"
|
|
|
|
# # 🌐 Router
|
|
# - "traefik.http.routers.psp.rule=Host(`your-domain.com`)"
|
|
# - "traefik.http.routers.psp.entrypoints=websecure"
|
|
# - "traefik.http.routers.psp.tls=true"
|
|
|
|
# # 🔐 SSL (auto with Traefik)
|
|
# - "traefik.http.routers.psp.tls.certresolver=letsencrypt"
|
|
|
|
# # ⚡ Service port (IMPORTANT)
|
|
# - "traefik.http.services.psp.loadbalancer.server.port=80"
|
|
|
|
# # 🚀 Compression at edge (optional)
|
|
# - "traefik.http.middlewares.compress.compress=true"
|
|
# - "traefik.http.routers.psp.middlewares=compress@docker"
|
|
|
|
networks:
|
|
- web
|
|
|
|
networks:
|
|
web:
|
|
driver: bridge
|