Files
whms-lte-fs/docker-compose.yml

44 lines
1.5 KiB
YAML

# =====================================================================
# WHMS-LTE-FS - Docker Compose untuk Portainer Stack
# =====================================================================
# ASP.NET Core .NET 9 - Multi-project
# Routing via Nginx Proxy Manager (container name)
# =====================================================================
services:
whms-lte-fs:
build:
context: .
dockerfile: Dockerfile
container_name: whms-lte-fs
restart: unless-stopped
expose:
- 8080
networks:
- indotalent-network
environment:
- ASPNETCORE_ENVIRONMENT=Production
- ASPNETCORE_URLS=http://+:8080
# MS SQL - database WHMS-LTE-FS
- ConnectionStrings__DefaultConnection=Server=mssql,1433;Database=WHMS-LTE-FS;User Id=sa;Password=nw9703AZz6YmgB@G;TrustServerCertificate=True;
# SMTP Email
- SmtpSettings__Host=smtp.gmail.com
- SmtpSettings__Port=465
- SmtpSettings__UserName=go2ismail@gmail.com
- SmtpSettings__Password=lrbi cooi gcnt oquw
- SmtpSettings__FromAddress=go2ismail@gmail.com
- SmtpSettings__FromName=INDOTALENT
# =================================================================
# RESOURCE LIMITS
# =================================================================
mem_limit: 1g
mem_reservation: 1g
cpus: '1.0'
labels:
- "indotalent.service=whms-lte-fs"
- "indotalent.description=WHMS-LTE-FS ASP.NET Core .NET 9"
networks:
indotalent-network:
external: true
name: indotalent-network