mirror of
https://github.com/Haxxnet/Compose-Examples.git
synced 2025-11-23 08:54:27 +01:00
chore: add opengist
This commit is contained in:
3
examples/opengist/.env
Normal file
3
examples/opengist/.env
Normal file
@@ -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
|
||||
4
examples/opengist/README.md
Normal file
4
examples/opengist/README.md
Normal file
@@ -0,0 +1,4 @@
|
||||
# Reference
|
||||
|
||||
- https://opengist.io/docs/
|
||||
- https://github.com/thomiceli/opengist
|
||||
30
examples/opengist/docker-compose.yml
Normal file
30
examples/opengist/docker-compose.yml
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user