From c0445167bdf8743793f3a9dd09b7cd8bcf78e318 Mon Sep 17 00:00:00 2001 From: Javielico Date: Tue, 29 Oct 2024 15:54:10 +0000 Subject: [PATCH] Changes due to version 4 upgrade remove admin/user cred generation --- .env.sample | 1 - compose.yml | 4 ---- config.toml.tmpl | 2 -- 3 files changed, 7 deletions(-) diff --git a/.env.sample b/.env.sample index 06fb9d7..d259e4d 100644 --- a/.env.sample +++ b/.env.sample @@ -4,4 +4,3 @@ DOMAIN=listmonk.example.com LETS_ENCRYPT_ENV=production SECRET_DB_PASSWORD_VERSION=v1 -SECRET_ADMIN_PASSWORD_VERSION=v1 diff --git a/compose.yml b/compose.yml index 91e2dcc..8556745 100644 --- a/compose.yml +++ b/compose.yml @@ -12,7 +12,6 @@ services: - LISTMONK_DB_HOST=${STACK_NAME}_db secrets: - db_password - - admin_password depends_on: - db configs: @@ -66,9 +65,6 @@ secrets: db_password: name: ${STACK_NAME}_db_password_${SECRET_DB_PASSWORD_VERSION} external: true - admin_password: - name: ${STACK_NAME}_admin_password_${SECRET_ADMIN_PASSWORD_VERSION} - external: true configs: config_toml: diff --git a/config.toml.tmpl b/config.toml.tmpl index e96c44d..ae52caa 100644 --- a/config.toml.tmpl +++ b/config.toml.tmpl @@ -1,7 +1,5 @@ [app] address = "0.0.0.0:9000" -admin_username = "admin" -admin_password = "{{ secret "admin_password" }}" # Database. [db]