mirror of
https://github.com/pldubouilh/gossa.git
synced 2026-09-02 23:27:39 -04:00
last refactor
This commit is contained in:
+3
-6
@@ -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
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user