From e0708107e12396232e60764252a1f4f7463a333a Mon Sep 17 00:00:00 2001 From: majcek210 <155429915+majcek210@users.noreply.github.com> Date: Sat, 22 Nov 2025 11:24:16 +0100 Subject: [PATCH 1/6] Add volumes for themes, extensions, and storage in Paymenter template Added additional volumes to the Paymenter service in docker-compose: - Added themes volume for theme storage - Added extensions volume for external extensions - Added app_storage_public for public storage path These changes allow you to store extensions, themes and some images without issues(they were deleted on restart before) --- templates/compose/paymenter.yaml | 51 +++++++++++++++++++------------- 1 file changed, 30 insertions(+), 21 deletions(-) diff --git a/templates/compose/paymenter.yaml b/templates/compose/paymenter.yaml index 29f38af2e..8dc5d3a04 100644 --- a/templates/compose/paymenter.yaml +++ b/templates/compose/paymenter.yaml @@ -7,56 +7,65 @@ services: paymenter: - image: ghcr.io/paymenter/paymenter:latest + image: 'ghcr.io/paymenter/paymenter:latest' volumes: - - app_logs:/app/storage/logs - - app_public:/app/storage/public + - 'app_logs:/app/storage/logs' + - 'app_public:/app/storage/public' + - 'extenstions:/app/extensions' + - 'themes:/app/themes' + - 'app_storage_public:/app/storage/app/public' environment: - SERVICE_URL_PAYMENTER: ${SERVICE_URL_PAYMENTER_80} - DB_DATABASE: ${MYSQL_DATABASE:-paymenter-db} - DB_PASSWORD: ${SERVICE_PASSWORD_MYSQL} - DB_USERNAME: ${SERVICE_USER_MYSQL} + SERVICE_URL_PAYMENTER: '${SERVICE_URL_PAYMENTER_80}' + DB_DATABASE: '${MYSQL_DATABASE:-paymenter-db}' + DB_PASSWORD: '${SERVICE_PASSWORD_MYSQL}' + DB_USERNAME: '${SERVICE_USER_MYSQL}' APP_ENV: production CACHE_STORE: redis SESSION_DRIVER: redis QUEUE_CONNECTION: redis REDIS_HOST: redis REDIS_USERNAME: default - REDIS_PASSWORD: ${SERVICE_PASSWORD_64_REDIS} + REDIS_PASSWORD: '${SERVICE_PASSWORD_64_REDIS}' DB_CONNECTION: mariadb DB_HOST: mariadb DB_PORT: 3306 - APP_KEY: ${SERVICE_BASE64_KEY} + APP_KEY: '${SERVICE_BASE64_KEY}' depends_on: mariadb: condition: service_healthy redis: condition: service_started healthcheck: - test: ["CMD-SHELL", "curl -sf http://localhost:80 || exit 1"] + test: + - CMD-SHELL + - 'curl -sf http://localhost:80 || exit 1' interval: 10s timeout: 1s retries: 3 - mariadb: - image: mariadb:11 + image: 'mariadb:11' volumes: - - paymenter_mariadb_data:/var/lib/mysql + - 'paymenter_mariadb_data:/var/lib/mysql' environment: - - MYSQL_ROOT_PASSWORD=${SERVICE_PASSWORD_MYSQLROOT} - - MYSQL_DATABASE=${MYSQL_DATABASE:-paymenter-db} - - MYSQL_USER=${SERVICE_USER_MYSQL} - - MYSQL_PASSWORD=${SERVICE_PASSWORD_MYSQL} + - 'MYSQL_ROOT_PASSWORD=${SERVICE_PASSWORD_MYSQLROOT}' + - 'MYSQL_DATABASE=${MYSQL_DATABASE:-paymenter-db}' + - 'MYSQL_USER=${SERVICE_USER_MYSQL}' + - 'MYSQL_PASSWORD=${SERVICE_PASSWORD_MYSQL}' healthcheck: - test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"] + test: + - CMD + - healthcheck.sh + - '--connect' + - '--innodb_initialized' interval: 5s timeout: 20s retries: 10 - redis: - image: redis:alpine + image: 'redis:alpine' healthcheck: - test: ["CMD-SHELL", "redis-cli ping || exit 1"] + test: + - CMD-SHELL + - 'redis-cli ping || exit 1' interval: 10s timeout: 1s retries: 3 From ef40069cef2e3e145e186bd7591e1e51d7a8a505 Mon Sep 17 00:00:00 2001 From: majcek210 <155429915+majcek210@users.noreply.github.com> Date: Sat, 22 Nov 2025 11:28:31 +0100 Subject: [PATCH 2/6] Update MariaDB image version to 11.8 --- templates/compose/paymenter.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/compose/paymenter.yaml b/templates/compose/paymenter.yaml index 8dc5d3a04..e94a1147a 100644 --- a/templates/compose/paymenter.yaml +++ b/templates/compose/paymenter.yaml @@ -43,7 +43,7 @@ services: timeout: 1s retries: 3 mariadb: - image: 'mariadb:11' + image: 'mariadb:11.8' volumes: - 'paymenter_mariadb_data:/var/lib/mysql' environment: From 928e96258aac0a1af6527086ef22fc654b43aa8b Mon Sep 17 00:00:00 2001 From: majcek210 <155429915+majcek210@users.noreply.github.com> Date: Sat, 22 Nov 2025 14:55:50 +0100 Subject: [PATCH 3/6] Update paymenter image version to v1.4.5 Change paymenter image varsion from latest > 1.4.5 --- templates/compose/paymenter.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/compose/paymenter.yaml b/templates/compose/paymenter.yaml index e94a1147a..4629dabdc 100644 --- a/templates/compose/paymenter.yaml +++ b/templates/compose/paymenter.yaml @@ -7,7 +7,7 @@ services: paymenter: - image: 'ghcr.io/paymenter/paymenter:latest' + image: 'ghcr.io/paymenter/paymenter:v1.4.5' volumes: - 'app_logs:/app/storage/logs' - 'app_public:/app/storage/public' From 9a58096655addc1536ef7a21c129363306374e5e Mon Sep 17 00:00:00 2001 From: majcek210 <155429915+majcek210@users.noreply.github.com> Date: Sat, 22 Nov 2025 15:21:19 +0100 Subject: [PATCH 4/6] Fix volume paths in paymenter.yaml --- templates/compose/paymenter.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/compose/paymenter.yaml b/templates/compose/paymenter.yaml index 4629dabdc..eddbbddcd 100644 --- a/templates/compose/paymenter.yaml +++ b/templates/compose/paymenter.yaml @@ -9,11 +9,11 @@ services: paymenter: image: 'ghcr.io/paymenter/paymenter:v1.4.5' volumes: - - 'app_logs:/app/storage/logs' + 'app_logs:/app/storage/logs' - 'app_public:/app/storage/public' - 'extenstions:/app/extensions' - 'themes:/app/themes' - - 'app_storage_public:/app/storage/app/public' + - 'app_storage_public:/app/public/storage' environment: SERVICE_URL_PAYMENTER: '${SERVICE_URL_PAYMENTER_80}' DB_DATABASE: '${MYSQL_DATABASE:-paymenter-db}' From a2ca50b4bfa2267d70b2b2cb68327f5404636f20 Mon Sep 17 00:00:00 2001 From: majcek210 <155429915+majcek210@users.noreply.github.com> Date: Sat, 22 Nov 2025 15:24:05 +0100 Subject: [PATCH 5/6] Update paymenter.yaml volumes configuration --- templates/compose/paymenter.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/templates/compose/paymenter.yaml b/templates/compose/paymenter.yaml index eddbbddcd..fffee1b91 100644 --- a/templates/compose/paymenter.yaml +++ b/templates/compose/paymenter.yaml @@ -9,11 +9,12 @@ services: paymenter: image: 'ghcr.io/paymenter/paymenter:v1.4.5' volumes: - 'app_logs:/app/storage/logs' - - 'app_public:/app/storage/public' + - 'app_logs:/app/storage/logs' + - 'app_storage1:/app/storage/public' - 'extenstions:/app/extensions' - 'themes:/app/themes' - - 'app_storage_public:/app/public/storage' + - 'app_storage2:/app/public/storage' + - 'app_storage3:app/storage/app/public' environment: SERVICE_URL_PAYMENTER: '${SERVICE_URL_PAYMENTER_80}' DB_DATABASE: '${MYSQL_DATABASE:-paymenter-db}' From 612b51ef0046d0d474054c04e644513c66cc774c Mon Sep 17 00:00:00 2001 From: majcek210 <155429915+majcek210@users.noreply.github.com> Date: Sun, 23 Nov 2025 12:08:21 +0100 Subject: [PATCH 6/6] Update volume mounts in paymenter.yaml Done my research and this are the right volumes for paymenter on coolify --- templates/compose/paymenter.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/templates/compose/paymenter.yaml b/templates/compose/paymenter.yaml index fffee1b91..6ce4ae3b9 100644 --- a/templates/compose/paymenter.yaml +++ b/templates/compose/paymenter.yaml @@ -10,11 +10,10 @@ services: image: 'ghcr.io/paymenter/paymenter:v1.4.5' volumes: - 'app_logs:/app/storage/logs' - - 'app_storage1:/app/storage/public' - 'extenstions:/app/extensions' - 'themes:/app/themes' - - 'app_storage2:/app/public/storage' - - 'app_storage3:app/storage/app/public' + - 'app_storage:/app/storage/app' + - 'app_public_storage:/app/storage/app/public' environment: SERVICE_URL_PAYMENTER: '${SERVICE_URL_PAYMENTER_80}' DB_DATABASE: '${MYSQL_DATABASE:-paymenter-db}'