From 6ee169464c567f4caaa9a4d46e733133500cb2e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Pedro=20Toledo?= Date: Thu, 29 Jan 2026 09:22:52 -0300 Subject: [PATCH] fix: mount volume to directory instead of file to avoid OCI error --- docker-compose.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 0c4c59d..34f6904 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,19 +10,16 @@ services: - ./.bashrc:/etc/bash.bashrc:ro # Volumes para Configurações (Persistência Interna) - - nginx_config:/etc/nginx/nginx.conf - - nginx_conf_d:/etc/nginx/conf.d - - nginx_snippets:/etc/nginx/snippets + # Um único volume para o diretório de configs do Nginx (preserva nginx.conf, conf.d e snippets) + - nginx_config:/etc/nginx - # Persistent Data + # Persistent Data (Sub-montagens são permitidas) - ./ssl:/etc/nginx/ssl + - ./certbot:/etc/letsencrypt - nginx_logs:/var/log/nginx - nginx_cache:/var/cache/nginx - - ./certbot:/etc/letsencrypt volumes: nginx_config: - nginx_conf_d: - nginx_snippets: nginx_logs: nginx_cache: