Example of Gitea deployment for Docker Swarm
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Luke Murphy 755eeeaa32
Add script invocations
1 year ago
gitea Move ignore to root 1 year ago
traefik Bootstrap it 1 year ago
.gitignore Move ignore to root 1 year ago
README.md Add script invocations 1 year ago

README.md

gitea-swarm

Example of Gitea deployment for Docker Swarm.

Traefik works as the reverse proxy and takes care of provisioning and maintaining lets encrypt certificates.

Deploy It

Requirements

$ sudo apt install -y direnv
$ docker context use swarm.autonomic.zone

For swarm context documentation, see the following:

https://git.autonomic.zone/autonomic-cooperative/organising/wiki/working-with-docker-swarm

Traefik

https://docs.traefik.io/

$ cd traefik
$ cp .envrc.sample .envrc
$ direnv allow
$ docker stack deploy -c compose.yml traefik

Gitea

https://gitea.io/

$ cd gitea
$ cp .envrc.sample .envrc
$ direnv allow
$ source helpers.sh
$ create-secrets
$ docker stack deploy -c compose.yml gitea
$ create-admin