mirror of
https://github.com/pldubouilh/gossa.git
synced 2026-08-28 04:46:58 -04:00
cleanup + readme
This commit is contained in:
+5
-5
@@ -2,17 +2,17 @@ the master branch is automatically built and pushed to [dockerhub](https://hub.d
|
||||
|
||||
```sh
|
||||
# pull from dockerhub and run
|
||||
sudo docker run -v ~/LocalDirToShare:/shared -p 8001:8001 pldubouilh/gossa
|
||||
% sudo docker run -v ~/LocalDirToShare:/shared -p 8001:8001 pldubouilh/gossa
|
||||
```
|
||||
|
||||
if you prefer building the image yourself :
|
||||
|
||||
```sh
|
||||
# build gossa within a build container, needs to be ran within the sources, ../ from here
|
||||
docker build -t gossa -f docker/build.Dockerfile .
|
||||
% docker build -t gossa -f docker/build.Dockerfile .
|
||||
|
||||
# and to run it simply
|
||||
sudo docker run -v ~/LocalDirToShare:/shared -p 8001:8001 gossa
|
||||
% sudo docker run -v ~/LocalDirToShare:/shared -p 8001:8001 gossa
|
||||
```
|
||||
|
||||
|
||||
@@ -20,10 +20,10 @@ a fancy docker image using [Caddy](https://caddyserver.com/) is also provided. a
|
||||
|
||||
```sh
|
||||
# run with caddy, checkout the config in the dockerfile
|
||||
docker build -t gossa -f caddy.Dockerfile .
|
||||
% docker build -t gossa -f caddy.Dockerfile .
|
||||
|
||||
# run with caddy
|
||||
sudo docker run -v ~/LocalDirToShare:/shared --net=host gossa
|
||||
% sudo docker run -v ~/LocalDirToShare:/shared --net=host gossa
|
||||
```
|
||||
|
||||
a docker-compose example image is also provided. running docker compose should be straightforward : `docker-compose up .` have a look in `docker-compose.yml` for further configuration.
|
||||
Reference in New Issue
Block a user