GithubHelp home page GithubHelp logo

isabella232 / dockerfile-gitea Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stakater/dockerfile-gitea

0.0 0.0 0.0 5.47 MB

derived from the gitea docker image to work with fabric8

License: Apache License 2.0

Shell 11.07% Go 88.93%

dockerfile-gitea's Introduction

gitea-docker

derived from the gitea docker image to work with fabric8

docker run -d --name=gitea -p 10022:22 -p 10080:3000 stakater/gitea:latest

database configuration

sqlite3

[database]
DB_TYPE  = sqlite3
PATH     = /data/gitea/gitea.db
HOST     = 127.0.0.1:3306
NAME     = gitea
USER     = gitea
PASSWD   =
SSL_MODE = disable

postgres

[database]
DB_TYPE  = postgres
HOST     = gitea-db:5432
NAME     = gitea
USER     = gitea
PASSWD   =
SSL_MODE = disable
PATH     = /data/gitea/gitea.db

keycloak settings

Sign In -> Authentication -> Add New Source ->

Add ID & Secret &

OpenID Connect Auto Discovery URL:

https://kc.dd.theapp.com/auth/realms/fabric8/.well-known/openid-configuration

ToDos

  • how to refresh go dependencies in IDEA?
  • update dockerfile to execute custom start script
  • change database to postgres
  • disable registration
  • create default system admin automatically at startup - maybe its not needed as the first user who signs up later through keycloak will become the system admin! -- we can use gitea admin
  • add keycloak openid connect configurations by default; so, user must have option to login using openid connect - @strk on discord suggested that I need to create a custom template to make it work!
mkdir -p custom/templates/user/auth; 
cp templates/user/auth/signin_inner.tmpl custom/templates/user/auth; 
vi custom/templates/user/auth/signin_inner.tmpl

OpenID Connect

https://github.com/go-gitea/gitea/blob/master/vendor/github.com/markbates/goth/providers/openidConnect/openidConnect.go

Contacts

@strk

Conf

https://github.com/go-gitea/gitea/blob/master/conf/app.ini

dockerfile-gitea's People

Contributors

rasheedamir avatar rajdavies avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.