Giter Site home page Giter Site logo

gogs-docker-compose's Introduction

Gogs docker-compose

Why you probably will pick this configuration for your Gogs instance:

  • It is extremely lightweight. Only app and db, 1 CPU + 100 MB RAM is pretty enough for personal usage (say goodbye to GitLab-like hippopotamuses).
  • Time saver. A predefined config based on docker-compose.yml and automated scripts for quick editing.
  • Installs in one-line. bin/install_http.sh (standalone) or bin/install_unix_socket.sh for pairing with nginx.
  • Easy tuning. There are scripts for managing common use-cases without digging deeply into the application context (toggle_registration.sh, for example).

Requirements

Installation

Clone the repository and run an automated setup script:

$ git clone [email protected]:symfony-doge/gogs-docker-compose.git gogs-docker-compose && cd "$_"
$ bin/install_http.sh

Then you can access your Gogs instance by http://localhost:9090. Create admin user via web UI (first user with ID=1 will automatically become an admin). You can also disable registration by running:

$ bin/toggle_registration.sh && docker-compose restart

Note: use only docker-compose commands like down and up after successful installation.

There is also a deploy script for nginx + unix socket setup called bin/install_unix_socket.sh, but you need to configure nginx by yourself (see nginx.conf.example).

Have fun!

gogs-docker-compose's People

Contributors

itnelo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

xitation ksulrich

gogs-docker-compose's Issues

todo: permissions & services order

2019/08/21 15:26:59 [FATAL] [...gs/routes/install.go:66 GlobalInit()] Fail to initialize ORM engine: migrate: sync: dial tcp 172.23.0.2:5432: connect: connection refused

(https://github.com/gogs/gogs/issues/ 2553)
&

2019/08/21 15:51:35 [FATAL] [...gogs/gogs/cmd/web.go:171 runWeb()] Fail to set git user.name(exit status 255): error: could not lock config file /data/git/.gitconfig: Permission denied

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.