gossa/docker
2019-09-18 09:13:58 -04:00
..
build.Dockerfile added su-exec and env variables to build.Dockerfile 2019-09-18 09:13:58 -04:00
caddy.Dockerfile bump release 2019-03-31 17:18:30 +02:00
docker-compose.yml readme cleanup 2019-05-11 12:10:35 +02:00
download.Dockerfile bump download.Dockerfile to latest release 2019-09-18 09:13:58 -04:00
readme.md cleanup + readme 2019-06-30 12:59:03 +02: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
% docker build -t gossa -f docker/build.Dockerfile .

# and to run it simply
% sudo docker run -v ~/LocalDirToShare:/shared -p 8001:8001 gossa

a fancy docker image using Caddy 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 🎉

# run with caddy, checkout the config in the dockerfile
% docker build -t gossa -f caddy.Dockerfile .

# run with caddy
% 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.