Skip to content

Commit

Permalink
be able to mount volumes and/or setup /home/
Browse files Browse the repository at this point in the history
  • Loading branch information
traceypooh committed Mar 12, 2024
1 parent 11d652c commit 922dcc4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,15 @@ curl -sS https://internetarchive.github.io/hind/install.sh | sudo sh -s -- -e NF
- `-e REVERSE_PROXY=https://example.com:81` - make https://example.com reverse proxy to localhost:81
- `-e REVERSE_PROXY=http://example.com:81` - make http://example.com reverse proxy to localhost:81
- `-e REVERSE_PROXY=https://example.com:82,http://example.com:82` - make https://example.com reverse proxy to localhost:82; http://example.com reverse proxy to localhost:82 (no auto-upgrade)
- `-e ON_DEMAND_TLS_ASK=[URL]` - If you want to use caddy 'on_demand_tls', URL to use to respond 200/400
@see https://caddy.community/t/11179

- `-e ON_DEMAND_TLS_ASK=[URL]`
- If you want to use caddy `on_demand_tls`, URL to use to respond with 200/400 status codes.
- @see https://caddy.community/t/11179
- `-v /home:/home`
- use this with `-e NFSHOME=1` to make the volume available to be mounted.
- You can change the first part to where home dirs live if not at `/home/` on the VM.
- `...`
- other command line arguments to pass on to the main container's `podman run` invocation,
like other `-v` volume mounts or otherwise.


## GUI, Monitoring, Interacting
Expand Down
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ if [ "$HOST_UNAME" = Darwin ]; then
-v /var/lib/containers:/var/lib/containers \
-v /opt/nomad/data/alloc:/opt/nomad/data/alloc \
-v /pv:/pv \
--restart=always --name hind -d -q hind >/dev/null
--restart=always --name hind -d -q "$@" hind >/dev/null
)
else
(
Expand All @@ -40,7 +40,7 @@ else
-v /var/lib/containers:/var/lib/containers \
-v /opt/nomad/data/alloc:/opt/nomad/data/alloc \
-v /pv:/pv \
--restart=always --name hind -d -q hind >/dev/null
--restart=always --name hind -d -q "$@" hind >/dev/null
)
fi

Expand Down

0 comments on commit 922dcc4

Please sign in to comment.