From e9499cc355aa6f8a7af1e8e04b93f9384e316469 Mon Sep 17 00:00:00 2001 From: Jeff Clement Date: Fri, 15 Nov 2024 10:01:47 -0700 Subject: [PATCH] adding opengist to the mix --- forgejo_cloudflare/.env | 4 ++++ forgejo_cloudflare/docker-compose.yml | 13 +++++++++++++ 2 files changed, 17 insertions(+) diff --git a/forgejo_cloudflare/.env b/forgejo_cloudflare/.env index 2e3871d..fd33e4e 100644 --- a/forgejo_cloudflare/.env +++ b/forgejo_cloudflare/.env @@ -12,6 +12,10 @@ ROOT_URL=https://${FORGEJO_HOSTNAME} # Cloudflare Tunnel Token TUNNEL_TOKEN= ##REQUIRED## +# GIST (we'll need this values later, once Forgejo is up and running) +OPENGIST_GITEA_CLIENT_ID= +OPENGIST_GITEA_SECRET= + # Database FORGEJO_DB_PASSWORD= ##REQUIRED## diff --git a/forgejo_cloudflare/docker-compose.yml b/forgejo_cloudflare/docker-compose.yml index d91fbdc..14ba3ea 100644 --- a/forgejo_cloudflare/docker-compose.yml +++ b/forgejo_cloudflare/docker-compose.yml @@ -57,6 +57,19 @@ services: depends_on: - db + opengist: + image: ghcr.io/thomiceli/opengist:1.8 + restart: unless-stopped + environment: + - OG_SSH_GIT_ENABLED=false + - OG_HTTP_PORT=80 + - OG_GITEA_NAME=Forgejo + - OG_GITEA_URL=${ROOT_URL} + - OG_GITEA_CLIENT_KEY=${OPENGIST_GITEA_CLIENT_ID} + - OG_GITEA_SECRET=${OPENGIST_GITEA_SECRET} + volumes: + - "./data/opengist:/opengist" + db: image: postgres:13 restart: always