From 66452ee6022a7397a852d07fd112e53a6bd0f916 Mon Sep 17 00:00:00 2001 From: Juan Ignacio Gelos Date: Fri, 7 Feb 2025 14:38:11 -0300 Subject: [PATCH] Changing to podman-compatible from docker compose's legacy 'links' (#20) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ --- docker-compose.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index a1da9eb..6e89333 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -20,8 +20,6 @@ x-n8n: &service-n8n - N8N_ENCRYPTION_KEY - N8N_USER_MANAGEMENT_JWT_SECRET - OLLAMA_HOST=ollama:11434 - links: - - postgres x-ollama: &service-ollama image: ollama/ollama:latest @@ -47,6 +45,7 @@ x-init-ollama: &init-ollama services: postgres: image: postgres:16-alpine + hostname: postgres networks: ['demo'] restart: unless-stopped environment: @@ -63,6 +62,7 @@ services: n8n-import: <<: *service-n8n + hostname: n8n-import container_name: n8n-import entrypoint: /bin/sh command: @@ -76,6 +76,7 @@ services: n8n: <<: *service-n8n + hostname: n8n container_name: n8n restart: unless-stopped ports: @@ -92,6 +93,7 @@ services: qdrant: image: qdrant/qdrant + hostname: qdrant container_name: qdrant networks: ['demo'] restart: unless-stopped