Changed mobolizon to web-app-mobilizon

This commit is contained in:
2025-07-20 10:10:17 +02:00
parent 1882fcfef5
commit 867b377115
5 changed files with 14 additions and 8 deletions

View File

@@ -1,6 +1,4 @@
titel: "Mobilizon on {{ primary_domain | upper }}"
images:
mobilizon: "docker.io/framasoft/mobilizon"
features:
central_database: true
oidc: true
@@ -20,4 +18,8 @@ domains:
docker:
services:
database:
enabled: true
enabled: true
mobilizon:
image: "docker.io/framasoft/mobilizon"
name: "mobilizon"
version: ""

View File

@@ -1,6 +1,7 @@
{% include 'roles/docker-compose/templates/base.yml.j2' %}
application:
image: "{{ applications | get_app_conf(application_id, 'images.' ~ application_id, True) }}"
image: "{{ mobilizon_image }}{{ ':' ~ mobilizon_version if mobilizon_version }}"
container_name: "{{ mobilizon_image }}"
volumes:
- uploads:/var/lib/mobilizon/uploads
- {{ mobilizon_host_conf_exs_file }}:/etc/mobilizon/config.exs:ro

View File

@@ -1,7 +1,10 @@
application_id: mobilizon
application_id: web-app-mobilizon
database_type: "postgres"
database_gis_enabled: true
container_port: 4000
mobilizon_host_conf_exs_file: "{{docker_compose.directories.config}}config.exs"
mobilizon_host_conf_exs_file: "{{docker_compose.directories.config}}config.exs"
mobilizon_version: "{{ applications | get_app_conf(application_id, 'docker.services.mobilizon.version', True) }}"
mobilizon_image: "{{ applications | get_app_conf(application_id, 'docker.services.mobilizon.image', True) }}"
mobilizon_name: "{{ applications | get_app_conf(application_id, 'docker.services.mobilizon.name', True) }}"