last refactor

This commit is contained in:
Pierre Dubouilh
2019-11-04 19:28:17 +01:00
parent ccd6ae2bea
commit f77b10d3de
5 changed files with 11 additions and 12 deletions
+3 -6
View File
@@ -8,10 +8,8 @@ the master branch is automatically built and pushed to [dockerhub](https://hub.d
if you prefer building the image yourself :
```sh
# build gossa within a build container, needs to be ran within the sources, ../ from here
# build gossa within a build container, needs to be ran within the sources, ../ from here, and run
% docker build -t gossa -f support/build.Dockerfile .
# and to run it simply
% sudo docker run -v ~/LocalDirToShare:/shared -p 8001:8001 gossa
```
@@ -20,10 +18,9 @@ the options are settable through environment variables that can be passed starti
a fancy docker image using [Caddy](https://caddyserver.com/) is also provided. a simple config is embedded in the docker file, and shows how to use http basic authentication, and automatic TLS for hands-free https 🎉
```sh
# run with caddy, checkout the config in the dockerfile
# checkout the caddy config, build, and run docker image
% vim caddy.Dockerfile
% docker build -t gossa-caddy -f caddy.Dockerfile .
# run with caddy
% sudo docker run -v ~/LocalDirToShare:/shared --net=host gossa-caddy
```