From e417949279fd1069d1c63c1d8e4a9f081740baae Mon Sep 17 00:00:00 2001 From: saibotk Date: Sun, 27 Dec 2020 08:38:19 +0100 Subject: [PATCH] codimd: Switch to version 1.7 and the official hedgedoc image This patch is the first version of the CodiMD role that runs the new hedgedoc image. There will be further work to rework the role to be called hedgedoc including a renaming of all variables. --- roles/codimd/README.md | 4 ++-- roles/codimd/defaults/main.yml | 4 ++-- roles/codimd/meta/main.yml | 3 +-- roles/codimd/templates/docker-compose.yml | 2 +- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/roles/codimd/README.md b/roles/codimd/README.md index 7ce6711..910c01c 100644 --- a/roles/codimd/README.md +++ b/roles/codimd/README.md @@ -1,7 +1,7 @@ -CodiMD +HedgeDoc ========= -This will setup a [CodiMD](https://github.com/codimd/server) server with their official docker container and traefik. +This will setup a [HedgeDoc](https://github.com/hedgedoc/hedgedoc) server with their official docker container and traefik. Requirements ------------ diff --git a/roles/codimd/defaults/main.yml b/roles/codimd/defaults/main.yml index 3b9e0e0..c921848 100644 --- a/roles/codimd/defaults/main.yml +++ b/roles/codimd/defaults/main.yml @@ -51,8 +51,8 @@ codimd_options: # The version of codimd and its postgres server # (don't upgrade postgres without a backup etc, as it might have introduced breaking changes!) -# renovate: depName=quay.io/codimd/codimd -codimd_version: 1.6.0 +# renovate: depName=quay.io/hedgedoc/hedgedoc +codimd_version: 1.7.0 codimd_postgres_version: 11.8 # The image tags that should be used (templated using the versions provided above) diff --git a/roles/codimd/meta/main.yml b/roles/codimd/meta/main.yml index f5cdcd4..fe733e0 100644 --- a/roles/codimd/meta/main.yml +++ b/roles/codimd/meta/main.yml @@ -1,9 +1,8 @@ galaxy_info: author: saibotk - description: Deploys a codimd server. + description: Installs HedgeDoc as a docker container license: GPL-3.0-only min_ansible_version: 2.9 - platforms: - name: CentOS versions: diff --git a/roles/codimd/templates/docker-compose.yml b/roles/codimd/templates/docker-compose.yml index a0dd736..eff6c8f 100644 --- a/roles/codimd/templates/docker-compose.yml +++ b/roles/codimd/templates/docker-compose.yml @@ -45,7 +45,7 @@ services: restart: always codimd: - image: quay.io/codimd/server:{{ codimd_image_version }} + image: quay.io/hedgedoc/hedgedoc:{{ codimd_image_version }} mem_limit: 256mb memswap_limit: 512mb restart: always