chore: add opengist

main
LRVT 2024-11-13 11:54:10 +01:00
rodzic bcf6d30470
commit d000fee64c
7 zmienionych plików z 39 dodań i 6 usunięć

Wyświetl plik

@ -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. - [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! - [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 ### File Transfer & Synchronization

Wyświetl plik

@ -1,5 +1,3 @@
version: '3.3'
services: services:
blog: blog:

Wyświetl plik

@ -1,5 +1,3 @@
version: "3.7"
services: services:
grampsweb: grampsweb:

Wyświetl plik

@ -1,6 +1,5 @@
version: "2.4"
services: services:
postgres: postgres:
image: postgres:${POSTGRES_IMAGE_TAG} image: postgres:${POSTGRES_IMAGE_TAG}
container_name: mattermost-db container_name: mattermost-db

Wyświetl plik

@ -0,0 +1,3 @@
OG_OIDC_CLIENT_KEY=<YOUR-KEY>
OG_OIDC_SECRET=<YOUR-SECRET>
OG_OIDC_DISCOVERY_URL=https://<YOUR-IDP-DOMAIN>/.well-known/openid-configuration

Wyświetl plik

@ -0,0 +1,4 @@
# Reference
- https://opengist.io/docs/
- https://github.com/thomiceli/opengist

Wyświetl plik

@ -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