GitXplorerGitXplorer
o

gitea-automation

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Verified
8524b290c0d96d71a329a150e62220c97616772e

Updated gitea version and mariadb instead of mysql

oonthedock committed 6 years ago
Unverified
ef9ae9d0289ce72bd94907b0aabb37ea63ea4c4b

Updates the README.md.

oonthedock committed 6 years ago
Unverified
a1ec74a32b6cf768ed55396e9592a9f25679efbc

Added docker-compose.yml for Docker Compose.

committed 6 years ago
Unverified
19fdcd3b5318d39bfb6b60f802ee51e3c7058957

Full backup for Gitea following https://docs.gitea.io/en-us/backup-and-restore/.

committed 6 years ago
Unverified
41035cc8ef9571c88864d0dade93bc441a2988a9

Creates log instead of echoing to stdout.

committed 6 years ago
Unverified
5e3808060ac40e7ae9f543e087130ca58d7e411f

Remove silly conditional.

committed 6 years ago

README

The README file for this repository.

Automating Gitea installation

Just for the fun of it, I've decided to automate the process of seting up a Gitea server using Docker. I did not want to use Docker Compose so I went with old plain containers. The script pulls the MySQL and Gitea images from Dockerhub, creates the named volumes for both the database and the Gitea container and the custom bridged network to allow communication between them.

I decided to use a premade configuration file for Gitea (https://gitea.io) using the IP for my lab host... It would be nice if the script modified the configuration file with the actual IP of the host on wich the container will run.

The script also stores the plaintext password for the root and gitea users for the DB, which is not the ideal solution.

So there's a lot to improve!

Updates

Now there is a docker-compose.yml file! It still has hardcoded passwords, ports... :( The script gitea-install.sh was improved to generate random passwords each time it was run. Please, modify the IP on the tpl.app.ini before running the script.