mirror of
https://github.com/pldubouilh/gossa.git
synced 2026-08-28 04:46:58 -04:00
readme cleanup
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
version: '2'
|
||||
|
||||
services:
|
||||
gossa-server:
|
||||
image: pldubouilh/gossa
|
||||
container_name: gossa
|
||||
restart: always
|
||||
ports:
|
||||
- 8001:8001
|
||||
volumes:
|
||||
- ~/to-share:/shared
|
||||
# labels:
|
||||
# - "traefik.enable=true"
|
||||
# - "traefik.port=8001"
|
||||
# - "traefik.backend=gossa"
|
||||
# - "traefik.frontend.rule=Host:${GOSSA}.${DOMAIN}"
|
||||
+11
-4
@@ -1,8 +1,14 @@
|
||||
```sh
|
||||
# download latest gossa release
|
||||
docker build -t gossa -f download.Dockerfile .
|
||||
the master branch is automatically built and pushed to [dockerhub](https://hub.docker.com/r/pldubouilh/gossa) under `pldubouilh/gossa`.
|
||||
|
||||
# ... or build gossa within a build container, needs to be ran within the sources, ../ from here
|
||||
```sh
|
||||
# pull from dockerhub and run
|
||||
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 .
|
||||
|
||||
# and to run it simply
|
||||
@@ -20,3 +26,4 @@ docker build -t gossa -f caddy.Dockerfile .
|
||||
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