From 4b91df7f9e00d62f783f7b3cc96d22246d0f9d59 Mon Sep 17 00:00:00 2001 From: fxequals Date: Mon, 18 Aug 2025 21:03:34 -0400 Subject: [PATCH] working version --- emerald-theory/chevereto/chevereto.yml | 37 +++++++++++++++----------- 1 file changed, 22 insertions(+), 15 deletions(-) diff --git a/emerald-theory/chevereto/chevereto.yml b/emerald-theory/chevereto/chevereto.yml index 81d2375..25ec59a 100644 --- a/emerald-theory/chevereto/chevereto.yml +++ b/emerald-theory/chevereto/chevereto.yml @@ -10,7 +10,12 @@ services: image: mariadb:jammy container_name: chevereto-db restart: unless-stopped - + healthcheck: + test: ["CMD", "healthcheck.sh", "--su-mysql", "--connect"] + interval: 10s + timeout: 5s + retries: 3 + networks: - proxy # ports: @@ -19,21 +24,18 @@ services: environment: PUID: 1000 PGID: 1000 - CHEVERETO_MAX_UPLOAD_SIZE: 1G - CHEVERETO_MAX_POST_SIZE: 1G - CHEVERETO_DB_NAME: chevereto - CHEVERETO_DB_PORT: 3306 - CHEVERETO_DB_PASS: ${DB_PASSWORD} - CHEVERETO_DB_USER: chevereto - CHEVERETO_DB_HOST: database + MYSQL_ROOT_PASSWORD: ${DB_ROOTPASSWORD} + MYSQL_DATABASE: chevereto + MYSQL_USER: chevereto + MYSQL_PASSWORD: ${DB_PASSWORD} volumes: - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro - - /home/fxequals/docker/chevereto/database:/var/www/html/images + - chevereto-database:/var/lib/mysql chevereto-server: - image: mariadb:jammy + image: chevereto/chevereto:latest container_name: chevereto-server restart: unless-stopped @@ -45,12 +47,12 @@ services: environment: PUID: 1000 PGID: 1000 - CHEVERETO_DB_HOST: database + CHEVERETO_DB_HOST: chevereto-db CHEVERETO_DB_USER: chevereto - CHEVERETO_DB_PASS: user_database_password + CHEVERETO_DB_PASS: ${DB_PASSWORD} CHEVERETO_DB_PORT: 3306 CHEVERETO_DB_NAME: chevereto - CHEVERETO_HOSTNAME: ignitedinspirations.net + CHEVERETO_HOSTNAME: photos.ignitedinspirations.net CHEVERETO_HOSTNAME_PATH: / CHEVERETO_HTTPS: 1 CHEVERETO_MAX_POST_SIZE: 1G @@ -60,8 +62,13 @@ services: volumes: - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro - - /home/fxequals/docker/chevereto/storage:/var/www/html/images/ - - /home/fxequals/docker/chevereto/app:/var/www/html/ + - chevereto-storage:/var/www/html/images/ + - chevereto-app:/var/www/html/ + +volumes: + database: + storage: + app: networks: proxy: