Skip to content

Commit d000fee

Browse files
committed
chore: add opengist
1 parent bcf6d30 commit d000fee

File tree

7 files changed

+39
-6
lines changed

7 files changed

+39
-6
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@ A [pastebin](https://en.wikipedia.org/wiki/Pastebin) is a type of online content
268268

269269
- [PrivateBin](examples/privatebin) - PrivateBin is a minimalist, opensource online pastebin/discussion board where the server has zero knowledge of hosted data.
270270
- [Hemmelig](examples/hemmelig) - Keep your sensitive information out of chat logs, emails, and more with encrypted secrets. Free encrypted secret sharing for everyone!
271+
- [Opengist](examples/opengist) - Self-hosted pastebin powered by Git, open-source alternative to Github Gist.
271272

272273
### File Transfer & Synchronization
273274

examples/ghost/docker-compose.yml

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
version: '3.3'
2-
31
services:
42

53
blog:

examples/gramps/docker-compose.yml

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
version: "3.7"
2-
31
services:
42

53
grampsweb:

examples/mattermost/docker-compose.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
version: "2.4"
2-
31
services:
2+
43
postgres:
54
image: postgres:${POSTGRES_IMAGE_TAG}
65
container_name: mattermost-db

examples/opengist/.env

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

examples/opengist/README.md

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Reference
2+
3+
- https://opengist.io/docs/
4+
- https://github.com/thomiceli/opengist

examples/opengist/docker-compose.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
services:
2+
3+
opengist:
4+
image: ghcr.io/thomiceli/opengist:1.8
5+
container_name: opengist
6+
environment:
7+
- OG_OIDC_CLIENT_KEY=${OG_OIDC_CLIENT_KEY:-mykey}
8+
- OG_OIDC_SECRET=${OG_OIDC_SECRET:-mysecret}
9+
- OG_OIDC_DISCOVERY_URL=${OG_OIDC_DISCOVERY_URL:-https://sso.example.com}
10+
restart: unless-stopped
11+
ports:
12+
- 6157:6157
13+
expose:
14+
- 6157 # http ui
15+
- 2222 # ssh
16+
volumes:
17+
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/opengist:/opengist
18+
#networks:
19+
# - proxy
20+
#labels:
21+
# - traefik.enable=true
22+
# - traefik.docker.network=proxy
23+
# - traefik.http.routers.opengist.rule=Host(`gist.example.com`)
24+
# - traefik.http.services.opengist.loadbalancer.server.port=6157
25+
# # Optional part for traefik middlewares
26+
# - traefik.http.routers.opengist.middlewares=local-ipwhitelist@file
27+
28+
#networks:
29+
# proxy:
30+
# external: true

0 commit comments

Comments
 (0)