From 4c0e7b63df702b217578626c9cd2fe9b2f820d54 Mon Sep 17 00:00:00 2001 From: Adrien Luxey Date: Tue, 19 May 2020 16:40:15 +0200 Subject: [PATCH] some info on gitea --- deployer/README.md | 6 ++++++ deployer/roles/build/tasks/gitea.yml | 8 ++++---- .../roles/build/templates/gitea/docker-compose.yml.j2 | 2 +- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/deployer/README.md b/deployer/README.md index e9e134c..0b35aa9 100644 --- a/deployer/README.md +++ b/deployer/README.md @@ -38,6 +38,12 @@ TODO: Ansible task to install that before the rest * Only existing ones (no new installs) +* Create Gitea instances + + * Nginx and docker-compose configurations + * Most of the work is by hand, because there is quite a lot of interaction between the host and the container (for forwarding ssh). + + ### Does not support * Setting up the host diff --git a/deployer/roles/build/tasks/gitea.yml b/deployer/roles/build/tasks/gitea.yml index 566638e..0774378 100644 --- a/deployer/roles/build/tasks/gitea.yml +++ b/deployer/roles/build/tasks/gitea.yml @@ -23,7 +23,7 @@ # Setup backups # ################# -# Later... -# - name: "Setup backups" -# import_tasks: backup.yml -# tags: backup \ No newline at end of file +- name: "Setup backups" + import_tasks: backup.yml + tags: backup + \ No newline at end of file diff --git a/deployer/roles/build/templates/gitea/docker-compose.yml.j2 b/deployer/roles/build/templates/gitea/docker-compose.yml.j2 index b756fec..52c437f 100644 --- a/deployer/roles/build/templates/gitea/docker-compose.yml.j2 +++ b/deployer/roles/build/templates/gitea/docker-compose.yml.j2 @@ -30,7 +30,7 @@ services: net: ipv4_address: "{{ site.subnet_site_ip }}" ports: - - "127.0.0.1:2222:22" + - "127.0.0.1:2222:22" # SSH Passthrough networks: net: