diff --git a/defaults/main.yml b/defaults/main.yml index 38d220d..b483c71 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -1,4 +1,5 @@ --- +forgejo_version: 10 forgejo_home_dir: /var/lib/forgejo forgejo_config_dir: /etc/forgejo forgejo_web_port: 3000 diff --git a/templates/docker-compose.yml.j2 b/templates/docker-compose.yml.j2 index 1402d8b..d54e1d7 100644 --- a/templates/docker-compose.yml.j2 +++ b/templates/docker-compose.yml.j2 @@ -2,7 +2,7 @@ {{ ansible_managed | comment }} services: server: - image: codeberg.org/forgejo/forgejo:9 + image: codeberg.org/forgejo/forgejo:{{ forgejo_version }} container_name: forgejo-server env_file: {{ forgejo_config_dir }}/server.env restart: always