Skip to content

Commit

Permalink
Pull the jupyter image as part of docker compose file (#39)
Browse files Browse the repository at this point in the history
* Add jupyter image to docker compose

* Add hint to prune image

---------

Co-authored-by: github-actions <[email protected]>
  • Loading branch information
blueraft and github-actions authored Dec 10, 2024
1 parent a2dfbda commit 5d63ed2
Show file tree
Hide file tree
Showing 3 changed files with 132 additions and 29 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,13 @@ Below are instructions for how to deploy this NOMAD Oasis distribution
```

and then repeat steps 4. and 5. above.
8. Clean up old container images:

You can remove unused images to free up space by running:

```sh
docker image prune -a
```

#### NOMAD Remote Tools Hub (NORTH)

Expand Down
9 changes: 9 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,15 @@ services:
ports:
- 80:80

# jupyterlab image: (this is only used to pull the image, no service is run for this)
jupyterlab_image:
image: ghcr.io/fairmat-nfdi/nomad-distro-template/jupyter:main
container_name: nomad_jupyter_image
pull_policy: always
entrypoint: ["true"]
deploy:
replicas: 0 # Ensures the service isn't started

volumes:
mongo:
name: "nomad_oasis_mongo"
Expand Down
Loading

0 comments on commit 5d63ed2

Please sign in to comment.