Skip to content

Commit

Permalink
[#162] consistent naming, new docker-compose.yml.template
Browse files Browse the repository at this point in the history
  • Loading branch information
trel committed Feb 5, 2022
1 parent 050c231 commit 6f316fc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ The following instructions assume you're running Ubuntu 18.04 and Bash.
```bash
$ cd /path/to/irods_client_nfsrods
$ bash build_jar.sh
$ docker build -t nfsrods .
$ docker build -t local/nfsrods .
```

### Configuring
Expand Down Expand Up @@ -132,7 +132,7 @@ $ docker run -d --name nfsrods \
-p <public_port>:2049 \
-v </full/path/to/nfsrods_config>:/nfsrods_config:ro \
-v </full/path/to/etc/passwd/formatted/file>:/etc/passwd:ro \
nfsrods
local/nfsrods
```

This command does the following:
Expand Down Expand Up @@ -175,15 +175,15 @@ $ docker run -d --name nfsrods \
-p <public_port>:2049 \
-v </full/path/to/nfsrods_config>:/nfsrods_config:ro \
-v /var/lib/sss:/var/lib/sss \
nfsrods
local/nfsrods
```

Using sssd, NFSRODS can use any sssd domain for ID mapping, including AD or LDAP. If sssd and `/etc/passwd` are used together, passwd will be consulted first.

#### Docker Compose
Using `docker run` to launch NFSRODS can be inconvenient given the number of arguments one has to pass. Docker Compose makes up for this by giving users the ability to define and run their applications in a manageable way.

For that reason, we've provided a docker-compose.yml file. You'll need to update it before use though.
For that reason, we've provided a `docker-compose.yml.template` file. Copy it to `docker-compose.yml`, point to your configuration directory, and then run.

### Mounting
```bash
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml → docker-compose.yml.template
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
build:
context: .
dockerfile: Dockerfile
image: local/nfsrods:2
image: irods/nfsrods:latest
ports:
- "2049:2049"
volumes:
Expand Down

0 comments on commit 6f316fc

Please sign in to comment.