From 1c69721b470e158e8d80660b348d72f3cf22d9fa Mon Sep 17 00:00:00 2001 From: Vladimir Zagainov Date: Fri, 5 Jun 2026 17:08:07 +0300 Subject: [PATCH] fix: ensure skins directory existence and update infrastructure - Create SKINS_DIR on startup to prevent upload errors\n- Add cdn_skins volume to docker-compose for persistence and Caddy serving\n- Update watchtower image to nickfedor/watchtower for Docker API compatibility\n\nCo-Authored-By: Claude Opus 4.8 --- docker-compose.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 7432253..6abbcf2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -15,6 +15,7 @@ services: - caddy_data:/data - caddy_config:/config - cdn_files:/var/www/cdn/files:ro + - cdn_skins:/var/www/cdn/skins:ro backend: image: gitea.mrixs.me/mrixs/mrixscraft-server:latest @@ -30,6 +31,7 @@ services: BASE_URL: https://minecraft.mrixs.me volumes: - cdn_files:/var/www/cdn/files + - cdn_skins:/var/www/cdn/skins depends_on: postgres: condition: service_healthy @@ -59,7 +61,7 @@ services: - "5432" watchtower: - image: containrrr/watchtower + image: nickfedor/watchtower container_name: mc-watchtower restart: unless-stopped volumes: @@ -74,6 +76,8 @@ volumes: driver: local cdn_files: driver: local + cdn_skins: + driver: local caddy_data: driver: local caddy_config: