1
0
Fork 0

Git: Finish moving to forgejo and update forgejo

This commit is contained in:
Florian RICHER 2024-10-27 18:57:36 +01:00
parent cae68d9a46
commit 1d34a9d71c
5 changed files with 6 additions and 6 deletions

View file

@ -16,7 +16,7 @@
- { role: home_assistant, tags: ["home_assistant"] }
- { role: n8n, tags: ["n8n"] }
# - { role: matrix, tags: ["matrix"] }
- { role: gitea, tags: ["gitea"] }
- { role: git, tags: ["git"] }
- { role: ryot, tags: ["ryot"] }
- { role: iptables, tags: ["iptables"] }
- { role: borg, tags: ["borg"] }

View file

@ -1,21 +1,21 @@
---
- name: Check gitea directory exist
- name: Check git directory exist
ansible.builtin.file:
path: gitea
path: git
state: directory
- name: Copy template conf
ansible.builtin.template:
src: "{{ item.src }}"
dest: "gitea/{{ item.dest }}"
dest: "git/{{ item.dest }}"
loop:
- { src: 'docker-compose.yml', dest: 'docker-compose.yml' }
- { src: 'config.yml', dest: 'config.yml' }
- name: Update and restart container
community.docker.docker_compose_v2:
project_src: gitea
project_src: git
state: present
pull: always
become: true

View file

@ -1,6 +1,6 @@
services:
web:
image: codeberg.org/forgejo/forgejo:8
image: codeberg.org/forgejo/forgejo:9
environment:
- USER_UID=1000
- USER_GID=1000