Skip to content

Latest commit

 

History

History
47 lines (36 loc) · 1.12 KB

README.md

File metadata and controls

47 lines (36 loc) · 1.12 KB

ABP with Elsa Application

Prerequisites

  • SqlServer 2012+
  • Redis (optional)

Configurations

See appsettings.json file

All config can be convert from environment variables

https://learn.microsoft.com/en-us/aspnet/core/fundamentals/configuration/?view=aspnetcore-7.0#naming-of-environment-variables

Docker compose example

docker-compose.yml

version: '3.8'

services:
  db:
    image: mcr.microsoft.com/mssql/server:2019-latest
    restart: unless-stopped
    ports:
      - 1433:1433
    environment:
      ACCEPT_EULA: Y
      MSSQL_SA_PASSWORD: <YourStrong!Passw0rd>
      MSSQL_PID: Express

  app:
    image: passingwind/abp-elsa-app
    restart: unless-stopped
    ports:
      - 8080:8080
    environment:
      TZ: Asia/Shanghai
      ConnectionStrings__Default: "Server=db;Database=workflowapp;User Id=sa;Password=<YourStrong!Passw0rd>;TrustServerCertificate=true;"
      Elsa__Server__BaseUrl: "http://localhost:8080"
    # volumes:
    #   - ./appsettings.json:/app/appsettings.json
    depends_on:
      - db