gossa/support
2019-12-13 00:45:21 +01:00
..
build.Dockerfile remove remote state 2019-12-13 00:45:21 +01:00
caddy.Dockerfile remove remote state 2019-12-13 00:45:21 +01:00
Caddyfile remove remote state 2019-12-13 00:45:21 +01:00
docker-compose.yml maintain state 2019-09-07 11:47:41 +02:00
readme.md remove remote state 2019-12-13 00:45:21 +01:00

the master branch is automatically built and pushed to dockerhub under pldubouilh/gossa.

# pull from dockerhub and run
% sudo docker run -v ~/LocalDirToShare:/shared -p 8001:8001 pldubouilh/gossa

if you prefer building the image yourself :

# 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 .
% sudo docker run -v ~/LocalDirToShare:/shared -p 8001:8001 gossa

the options are settable through environment variables that can be passed starting off the docker image.

a fancy docker image using Caddy is also provided. have a look at the simple config file Caddyfile, it shows how to use http basic authentication, and automatic TLS for hands-free https 🎉

# checkout the caddy config, build, and run docker image
% vim caddy.Dockerfile
% docker build -t gossa-caddy -f caddy.Dockerfile .
% sudo docker run -v ~/LocalDirToShare:/shared -v `pwd`/Caddyfile:/Caddyfile --net=host gossa-caddy

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.