Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 976 Bytes

README.md

File metadata and controls

32 lines (26 loc) · 976 Bytes

Deploying Codex

Docker

In order to deploy into Docker, make sure Docker is installed.

  1. Have the services you want to bring up built (Svalinn, Gungnir, and Fenrir).

  2. Set an environment variables relevant for the services you are deploying. If you aren't using locally built images, replace local with the correct tag:

    export SVALINN_VERSION=local
    export GUNGNIR_VERSION=local
    export FENRIR_VERSION=local

    If you don't want to set environment variables, set them inline with each docker-compose command below.

  3. To bring the containers up run:

    docker-compose up -d

    If you only want to bring up, for example, the database and Svalinn, run:

    docker-compose up -d yb-master yb-tserver db-init svalinn

    This can be done with any combination of services and the database.

  4. To bring the containers down:

    docker-compose down