Skip to content

devinrsmith/deephaven-compose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

deephaven-compose

Deephaven Docker Compose Examples

Workflow

  • Copy the docker-compose.yml to a local directory; or download and unzip main.zip; or clone the repository; and navigate to the same directory. For example:

    curl -o docker-compose.yml https://raw.githubusercontent.com/devinrsmith/deephaven-compose/main/docker-compose.yml
  • Download the latest images:

    docker-compose pull
  • Create project:

    docker-compose up -d
  • Connect to the web IDE at http://localhost:10000

  • List the state of the containers:

    docker-compose ps
  • Follow the logs of all containers:

    docker-compose logs -f

    Control-c to exit.

  • Follow the logs of a specific container:

    docker-compose logs -f grpc-api

    Control-c to exit.

  • Destroy all containers:

    docker-compose down

    To destroy all containers, and remove the volumes associated with it, add the -v flag:

    docker-compose down -v

Tips and tricks

  • Project name: Add -p <project-name> to your docker-compose commands to give your project a more meaningful name. For example:

    docker-compose -p my-first-project up -d

    Alternatively, you may use the COMPOSE_PROJECT_NAME environment variable.

    export COMPOSE_PROJECT_NAME=my-first-project
    docker-compose up -d
  • Port: Set the PORT environment variable to select a different port. For example:

    export PORT=10001
    docker-compose up -d
  • Multiple projects: Set a project name and port to spin up multiple projects at the same time:

    PORT=10001 docker-compose -p foo-project up -d
    PORT=10002 docker-compose -p bar-project up -d
  • Set a specific version: Set the VERSION environment variable to select a different docker tag. For example:

    export VERSION=0.2.0
    docker-compose up -d

About

Deephaven Docker Compose Examples

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors