From d000fee64ca20338bd0e137bc600a9b1695e2d80 Mon Sep 17 00:00:00 2001 From: LRVT <21357789+l4rm4nd@users.noreply.github.com> Date: Wed, 13 Nov 2024 11:54:10 +0100 Subject: [PATCH] chore: add opengist --- README.md | 1 + examples/ghost/docker-compose.yml | 2 -- examples/gramps/docker-compose.yml | 2 -- examples/mattermost/docker-compose.yml | 3 +-- examples/opengist/.env | 3 +++ examples/opengist/README.md | 4 ++++ examples/opengist/docker-compose.yml | 30 ++++++++++++++++++++++++++ 7 files changed, 39 insertions(+), 6 deletions(-) create mode 100644 examples/opengist/.env create mode 100644 examples/opengist/README.md create mode 100644 examples/opengist/docker-compose.yml diff --git a/README.md b/README.md index 755c5be..8cbdb53 100644 --- a/README.md +++ b/README.md @@ -268,6 +268,7 @@ A [pastebin](https://en.wikipedia.org/wiki/Pastebin) is a type of online content - [PrivateBin](examples/privatebin) - PrivateBin is a minimalist, opensource online pastebin/discussion board where the server has zero knowledge of hosted data. - [Hemmelig](examples/hemmelig) - Keep your sensitive information out of chat logs, emails, and more with encrypted secrets. Free encrypted secret sharing for everyone! +- [Opengist](examples/opengist) - Self-hosted pastebin powered by Git, open-source alternative to Github Gist. ### File Transfer & Synchronization diff --git a/examples/ghost/docker-compose.yml b/examples/ghost/docker-compose.yml index 7ea724d..61d8e01 100644 --- a/examples/ghost/docker-compose.yml +++ b/examples/ghost/docker-compose.yml @@ -1,5 +1,3 @@ -version: '3.3' - services: blog: diff --git a/examples/gramps/docker-compose.yml b/examples/gramps/docker-compose.yml index 55e644b..28ba2c9 100644 --- a/examples/gramps/docker-compose.yml +++ b/examples/gramps/docker-compose.yml @@ -1,5 +1,3 @@ -version: "3.7" - services: grampsweb: diff --git a/examples/mattermost/docker-compose.yml b/examples/mattermost/docker-compose.yml index 0b740e1..7bf000f 100644 --- a/examples/mattermost/docker-compose.yml +++ b/examples/mattermost/docker-compose.yml @@ -1,6 +1,5 @@ -version: "2.4" - services: + postgres: image: postgres:${POSTGRES_IMAGE_TAG} container_name: mattermost-db diff --git a/examples/opengist/.env b/examples/opengist/.env new file mode 100644 index 0000000..5d7d385 --- /dev/null +++ b/examples/opengist/.env @@ -0,0 +1,3 @@ +OG_OIDC_CLIENT_KEY= +OG_OIDC_SECRET= +OG_OIDC_DISCOVERY_URL=https:///.well-known/openid-configuration diff --git a/examples/opengist/README.md b/examples/opengist/README.md new file mode 100644 index 0000000..f49e758 --- /dev/null +++ b/examples/opengist/README.md @@ -0,0 +1,4 @@ +# Reference + +- https://opengist.io/docs/ +- https://github.com/thomiceli/opengist diff --git a/examples/opengist/docker-compose.yml b/examples/opengist/docker-compose.yml new file mode 100644 index 0000000..cea6c61 --- /dev/null +++ b/examples/opengist/docker-compose.yml @@ -0,0 +1,30 @@ +services: + + opengist: + image: ghcr.io/thomiceli/opengist:1.8 + container_name: opengist + environment: + - OG_OIDC_CLIENT_KEY=${OG_OIDC_CLIENT_KEY:-mykey} + - OG_OIDC_SECRET=${OG_OIDC_SECRET:-mysecret} + - OG_OIDC_DISCOVERY_URL=${OG_OIDC_DISCOVERY_URL:-https://sso.example.com} + restart: unless-stopped + ports: + - 6157:6157 + expose: + - 6157 # http ui + - 2222 # ssh + volumes: + - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/opengist:/opengist + #networks: + # - proxy + #labels: + # - traefik.enable=true + # - traefik.docker.network=proxy + # - traefik.http.routers.opengist.rule=Host(`gist.example.com`) + # - traefik.http.services.opengist.loadbalancer.server.port=6157 + # # Optional part for traefik middlewares + # - traefik.http.routers.opengist.middlewares=local-ipwhitelist@file + +#networks: +# proxy: +# external: true