sol-mem-gen/deploy
2025-02-06 10:55:10 +05:30
..
.registry.env.example Add a script and instructions to deploy the app 2025-02-06 10:55:10 +05:30
config.yml Add a script and instructions to deploy the app 2025-02-06 10:55:10 +05:30
deploy.sh Add a script and instructions to deploy the app 2025-02-06 10:55:10 +05:30
Dockerfile Add a script and instructions to deploy the app 2025-02-06 10:55:10 +05:30
README.md Add a script and instructions to deploy the app 2025-02-06 10:55:10 +05:30

Deploy

Setup

  • Build registry CLI image:

    docker build -t cerc/laconic-registry-cli .
    
    # Builds image cerc/laconic-registry-cli:latest
    
  • Configure userKey and bondId in registry CLI config

  • Add configuration for registry operations:

    cp .registry.env.example .registry.env
    
    # Fill in the required values
    nano .registry.env
    
  • Add configuration for the app:

    cp ../env.example .app.env
    
    # Fill in the required values
    nano .app.env
    

Run

  • Deploy sol-mem-gen App:

    docker run -it \
    -v ./:/app/deploy -w /app/deploy \
    cerc/laconic-registry-cli:latest \
    ./deploy.sh