@@ -9,53 +9,3 @@ This repository is a template for creating your own custom NOMAD Oasis distribut
99Click [ here] ( https://github.com/new?template_name=nomad-distribution-template&template_owner=FAIRmat-NFDI )
1010to use this template, or click the ` Use this template ` button in the upper right corner of
1111the main GitHub page for this template.
12-
13- ## Deploying the distribution
14-
15- Below are instructions for how to deploy this NOMAD Oasis distribution
16- [ for a new Oasis] ( #for-a-new-oasis ) and [ for an existing Oasis] ( #for-an-existing-oasis )
17-
18- ### For a new Oasis
19-
20- - Find a Linux computer.
21- - Make sure you have [ docker] ( https://docs.docker.com/engine/install/ ) installed.
22- Docker nowadays comes with ` docker compose ` built in. Prior, you needed to
23- install the stand-alone [ docker-compose] ( https://docs.docker.com/compose/install/ ) .
24- - Download the modified configuration files [ nomad-oasis.zip] ( nomad-oasis.zip ) from this repository.
25- - Run the following commands (skip ` chown ` on MacOS and Windows computers)
26-
27-
28- ``` sh
29- unzip nomad-oasis.zip
30- cd nomad-oasis
31- sudo chown -R 1000 .volumes
32- docker compose pull
33- docker compose up -d
34- curl localhost/nomad-oasis/alive
35- ```
36-
37- - Open [ http://localhost/nomad-oasis ] ( http://localhost/nomad-oasis ) in your browser.
38-
39- To run NORTH (the NOMAD Remote Tools Hub), the ` hub ` container needs to run docker and
40- the container has to be run under the docker group. You need to replace the default group
41- id ` 991 ` in the ` docker-compose.yaml ` 's ` hub ` section with your systems docker group id.
42- Run ` id ` if you are a docker user, or ` getent group | grep docker ` to find your
43- systems docker gid. The user id 1000 is used as the nomad user inside all containers.
44-
45- You can find more details on setting up and maintaining an Oasis in the NOMAD docs here:
46- [ nomad-lab.eu/prod/v1/docs/oasis/install.html] ( https://nomad-lab.eu/prod/v1/docs/oasis/install.html )
47-
48- ### For an existing Oasis
49-
50- If you already have an Oasis running you only need to change the image being pulled in
51- your ` docker-compose.yaml ` with ` ghcr.io/GITHUB_REPOSITORY:main ` for the services
52- ` worker ` , ` app ` , ` north ` , and ` logtransfer ` .
53-
54- If you want to use the ` nomad.yaml ` from this repository you also need to comment out
55- the inclusion of the ` nomad.yaml ` under the volumes key of those services in the
56- ` docker-compose.yaml ` .
57-
58- ``` yaml
59- volumes :
60- # - ./configs/nomad.yaml:/app/nomad.yaml
61- ```
0 commit comments