Skip to content

OptionEdge Release 1.0.186

Choose a tag to compare

@optionedge optionedge released this 27 Jan 09:10

🐳 Docker Images:

  • Engine: optionedge/engine:1.0.186
  • Upgrade Service: optionedge/upgrade-service:1.0.186

πŸ“₯ Downloads:

πŸ“‹ Docker Installation:

  1. Download both docker-compose.yml and upgrade.sh files
  2. Place them in the same directory
  3. Run: docker-compose up -d
  4. Access the application at http://localhost:7500

🌐 Cloud Deployment with Caddy:

  1. Download docker-compose-caddy.yml for cloud-based deployment
  2. This version includes Caddy for SSL termination and reverse proxy
  3. Suitable for production cloud environments

πŸ”— Download via curl:

Docker Compose YAML:

curl -O https://store-api.optionedge.in/releases/docker-compose.yml

Docker Compose with Caddy (Cloud):

curl -O https://store-api.optionedge.in/releases/docker-compose-caddy.yml

Upgrade Script:

curl -O https://store-api.optionedge.in/releases/upgrade.sh

Docker Compose File:

services:
  engine_local:
    image: 'optionedge/engine:1.0.154'
    container_name: engine_local
    restart: always
    ports:
     - "7500:8080"
    environment:
     - TZ=Asia/Kolkata
     - Auth:Domain=https://auth.optionedge.in/oidc
     - Auth:Audience=https://api.optionedge.in
     - ASPNETCORE_ENVIRONMENT=Production
     - RuntimeSettings__ProfileApiBaseUrl=https://api.optionedge.in/
     - RuntimeSettings__MessageQueueConnectionString=host=rabbitmq_local:5672;virtualhost=/;username=guest;password=guest;persistentMessages=false
     - RuntimeSettings__DataFolder=/app/data
     - RuntimeSettings__UpgradeServiceUrl=http://upgrade_service:8080
     - RUNNING_IN_CONTAINER=true
     - JwtSettings__Issuer=https://api.optionedge.in
     - JwtSettings__Audience=https://api.optionedge.in
     - JwtSettings__PublicKeyUrl=https://api.optionedge.in/auth/public-key
    depends_on:
      - rabbitmq_local
    volumes:
      - ./data:/app/data
    networks:
        - optionedge_local

  upgrade_service:
    image: 'optionedge/upgrade-service:1.0.154'
    container_name: upgrade_service
    restart: always
    ports:
     - "127.0.0.1:9999:8080"
    environment:
     - TZ=Asia/Kolkata
     - ASPNETCORE_ENVIRONMENT=Production
    volumes:
      - ./:/app/optionedge
      - /var/run/docker.sock:/var/run/docker.sock
    networks:
        - optionedge_local

    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:8080/health"]
      interval: 30s
      timeout: 10s
      retries: 3
      start_period: 40s
  
  rabbitmq_local:
    image: rabbitmq:4.0-management-alpine
    container_name: rabbitmq_local
    restart: always
    volumes:
        - ./.queue/queue/data/:/var/lib/rabbitmq/
        - ./.queue/queue/log/:/var/log/rabbitmq
    networks:
        - optionedge_local

networks:
  optionedge_local:

Docker Compose with Caddy (Cloud Deployment):

services:

  engine_local:
    image: 'optionedge/engine:1.0.186'
    container_name: engine_local
    restart: always
    ports:
     - "7500:8080"
    environment:
     - TZ=Asia/Kolkata
     - Auth:Domain=https://auth.optionedge.in/oidc
     - Auth:Audience=https://api.optionedge.in
     - ASPNETCORE_ENVIRONMENT=Production
     - RuntimeSettings__ProfileApiBaseUrl=https://api.optionedge.in/
     - RuntimeSettings__MessageQueueConnectionString=host=rabbitmq_local:5672;virtualhost=/;username=guest;password=guest;persistentMessages=false
     - RuntimeSettings__DataFolder=/app/data
     - RuntimeSettings__UpgradeServiceUrl=http://upgrade_service:8080
     - RUNNING_IN_CONTAINER=true
    depends_on:
      - rabbitmq_local
    volumes:
      - ./data:/app/data
    networks:
        - optionedge_local

  upgrade_service:
    image: 'optionedge/upgrade-service:1.0.186'
    container_name: upgrade_service
    restart: always
    ports:
     - "127.0.0.1:9999:8080"
    environment:
     - TZ=Asia/Kolkata
     - ASPNETCORE_ENVIRONMENT=Production
    volumes:
       - ./:/app/optionedge
       - /var/run/docker.sock:/var/run/docker.sock
    networks:
        - optionedge_local
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:8080/health"]
      interval: 30s
      timeout: 10s
      retries: 3
      start_period: 40s
  
  rabbitmq_local:
    image: rabbitmq:4.0-management-alpine
    container_name: rabbitmq_local
    restart: always
    volumes:
        - ./.queue/queue/data/:/var/lib/rabbitmq/
        - ./.queue/queue/log/:/var/log/rabbitmq
    networks:
        - optionedge_local

  caddy:
    image: caddy:2-alpine
    container_name: caddy_proxy
    restart: always
    ports:
      - "7500:7500"
    volumes:
      - ./Caddyfile:/etc/caddy/Caddyfile
      - caddy_data:/data
      - caddy_config:/config
    depends_on:
      - engine_local
    networks:
      - optionedge_local

volumes:
  caddy_data:
  caddy_config:
  
networks:
  optionedge_local: