From 3092b3a5ec05b50003def26f4668984b283e9911 Mon Sep 17 00:00:00 2001 From: Quentin Duchemin <quentinduchemin@tuta.io> Date: Mon, 13 Sep 2021 11:21:33 +0200 Subject: [PATCH] [Mobilizon] Persist configuration file --- pica-mobilizon/docker-compose.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pica-mobilizon/docker-compose.yml b/pica-mobilizon/docker-compose.yml index 14043079..f41586df 100644 --- a/pica-mobilizon/docker-compose.yml +++ b/pica-mobilizon/docker-compose.yml @@ -13,6 +13,8 @@ volumes: name: mobilizon-data mobilizon-db: name: mobilizon-db + mobilizon-config: + name: mobilizon-config services: mobilizon: @@ -20,6 +22,7 @@ services: container_name: mobilizon-app volumes: - mobilizon-data:/var/lib/mobilizon/uploads + - mobilizon-config:/etc/mobilizon - /etc/localtime:/etc/localtime:ro environment: - MOBILIZON_DATABASE_HOST=mobilizon-db @@ -42,7 +45,7 @@ services: depends_on: - mobilizon-db restart: unless-stopped - + mobilizon-db: image: postgis/postgis:12-3.1-alpine container_name: mobilizon-db @@ -54,4 +57,3 @@ services: networks: - mobilizon restart: unless-stopped - -- GitLab