KO
|
EN
gitlite — search
Search
#ai
#mcp
#claude
#rust
#python
#typescript
#claude-code
#cli
#golang
#machine-learning
#react
#llm
docker-gogs-mysql
★ 32
Open GitHub ↗
Gogs installer with Docker
Download README (.md)
Explore Similar Repositories
ubbagent
:
Metering agent
edgeval
:
No description available.
pARtfolio
:
Rosberry Portfolio app made with Apple ARKit
nothing
:
Nothing ZSH theme
People
:
a list of people and their dat urls
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
docker-gogs-mysql
?
Download (.md)
# Docker Gogs MySQL [](https://travis-ci.org/nanoninja/docker-gogs-mysql) [](https://badge.fury.io/gh/nanoninja%2Fdocker-gogs-mysql) ## [Gogs](https://gogs.io/) is a painless self-hosted Git service ### Getting started 1. Clone project : ```sh git clone https://github.com/nanoninja/docker-gogs-mysql.git ``` 2. You could customize your settings before installation : Edit `.env` file 3. Install : use [Makefile](https://en.wikipedia.org/wiki/Makefile) ```sh # show commands make help sudo make install ``` or by entering the following commands ```sh # Copy the configuration file from the dist file cp etc/app.ini.dist etc/app.ini # Start services sudo docker-compose up -d # Generate self-signed certificates source .env && sudo docker-compose exec -T gogsapp bash -c "cd /app/gogs; exec /app/gogs/gogs cert -ca=true -duration=$GOGS_CERT_DURATION -host=$GOGS_HTTP_DOMAIN" # Copy the configuration file to the container sudo docker cp $(pwd)/etc/app.ini $(sudo docker-compose ps -q gogsapp):/data/gogs/conf/app.ini # Restart the server to reload the configuration sudo docker-compose restart gogsapp # Automatic form filling with cURL sudo docker run --env-file $(pwd)/.env --rm -v $(pwd)/bin/install.sh:/install.sh --net=host appropriate/curl /bin/sh /install.sh ``` 3. Open your favorite browser : - [https://localhost:10080/](https://localhost:10080) --- ## Using Git with SSH ### Configure Git to trust a self-signed certificate #### Local ```sh git -c http.sslVerify=false push origin master ``` #### Global ```sh git config --global http.sslVerify false ``` #### Unset Global ```sh git config --global --unset http.sslVerify ``` --- ## Images to use - [Gogs](https://hub.docker.com/r/gogs/gogs/) - [MySQL](https://hub.docker.com/_/mysql/) - [cURL](https://hub.docker.com/r/appropriate/curl/)