adding opengist to the mix

This commit is contained in:
Jeff Clement 2024-11-15 10:01:47 -07:00
parent 27be196d17
commit e9499cc355
Signed by: jeff
GPG key ID: 3BCB43A3F0E1D7DA
2 changed files with 17 additions and 0 deletions

View file

@ -12,6 +12,10 @@ ROOT_URL=https://${FORGEJO_HOSTNAME}
# Cloudflare Tunnel Token # Cloudflare Tunnel Token
TUNNEL_TOKEN= ##REQUIRED## TUNNEL_TOKEN= ##REQUIRED##
# GIST (we'll need this values later, once Forgejo is up and running)
OPENGIST_GITEA_CLIENT_ID=
OPENGIST_GITEA_SECRET=
# Database # Database
FORGEJO_DB_PASSWORD= ##REQUIRED## FORGEJO_DB_PASSWORD= ##REQUIRED##

View file

@ -57,6 +57,19 @@ services:
depends_on: depends_on:
- db - 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: db:
image: postgres:13 image: postgres:13
restart: always restart: always