version: "3.8" services: sfs-auth-web: image: mcr.microsoft.com/dotnet/aspnet:${ASPNET_VERSION} restart: always environment: - ASPNETCORE_URLS=http://0.0.0.0:59093 ports: - ${SFS_AUTH_PORT}:59093 volumes: - /etc/localtime:/etc/localtime:ro - ./apps/be/Sfs.Auth.Web:/app working_dir: /app command: bash -c "dotnet Win_in.Sfs.Auth.Web.dll" depends_on: - database - redis - gateway sfs-basedata-host: image: mcr.microsoft.com/dotnet/aspnet:${ASPNET_VERSION} restart: always environment: - ASPNETCORE_URLS=http://0.0.0.0:59094 ports: - ${SFS_BASEDATA_PORT}:59094 volumes: - /etc/localtime:/etc/localtime:ro - ./apps/be/Sfs.BaseData.Host:/app working_dir: /app command: bash -c "dotnet Win_in.Sfs.Basedata.HttpApi.Host.dll" depends_on: - database - redis - gateway - sfs-auth-web sfs-core-host: image: mcr.microsoft.com/dotnet/aspnet:${ASPNET_VERSION} restart: always environment: - ASPNETCORE_URLS=http://0.0.0.0:59092 ports: - ${SFS_CORE_PORT}:59092 volumes: - /etc/localtime:/etc/localtime:ro - ./apps/be/Sfs.Core.Host:/app working_dir: /app command: bash -c "dotnet Win_in.Sfs.Core.HttpApi.Host.dll" depends_on: - database - redis - gateway - sfs-basedata-host sfs-wms-host: image: mcr.microsoft.com/dotnet/aspnet:${ASPNET_VERSION} restart: always environment: - ASPNETCORE_URLS=http://0.0.0.0:59095 ports: - ${SFS_WMS_PORT}:59095 volumes: - /etc/localtime:/etc/localtime:ro - ./apps/be/Sfs.Wms.Host:/app working_dir: /app command: bash -c "dotnet Win_in.Sfs.Wms.Store.HttpApi.Host.dll" depends_on: - database - redis - gateway - sfs-core-host sfs-pda-host: image: mcr.microsoft.com/dotnet/aspnet:${ASPNET_VERSION} restart: always environment: - ASPNETCORE_URLS=http://0.0.0.0:59096 profiles: - ${SFS_PDA_PORT}:59096 volumes: - /etc/localtime:/etc/localtime:ro - ./apps/be/Sfs.Pda.Host:/app working_dir: /app command: bash -c "dotnet Win_in.Sfs.Wms.Pda.Host.dll" depends_on: - database - redis - gateway - sfs-wms-host sfs-dashboard-host: image: mcr.microsoft.com/dotnet/aspnet:${ASPNET_VERSION} restart: always environment: - ASPNETCORE_URLS=http://0.0.0.0:59098 ports: - ${SFS_DASHBOARD_PORT}:59098 volumes: - /etc/localtime:/etc/localtime:ro - ./apps/be/Sfs.Dashboard.Host:/app working_dir: /app command: bash -c "dotnet Win_in.Sfs.Wms.Dashboard.Host.dll" depends_on: - database - redis - gateway - sfs-wms-host