Changing to podman-compatible from docker compose's legacy 'links' (#20)

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
This commit is contained in:
Juan Ignacio Gelos
2025-02-07 14:38:11 -03:00
committed by GitHub
parent 849092f6e2
commit 66452ee602

View File

@@ -20,8 +20,6 @@ x-n8n: &service-n8n
- N8N_ENCRYPTION_KEY - N8N_ENCRYPTION_KEY
- N8N_USER_MANAGEMENT_JWT_SECRET - N8N_USER_MANAGEMENT_JWT_SECRET
- OLLAMA_HOST=ollama:11434 - OLLAMA_HOST=ollama:11434
links:
- postgres
x-ollama: &service-ollama x-ollama: &service-ollama
image: ollama/ollama:latest image: ollama/ollama:latest
@@ -47,6 +45,7 @@ x-init-ollama: &init-ollama
services: services:
postgres: postgres:
image: postgres:16-alpine image: postgres:16-alpine
hostname: postgres
networks: ['demo'] networks: ['demo']
restart: unless-stopped restart: unless-stopped
environment: environment:
@@ -63,6 +62,7 @@ services:
n8n-import: n8n-import:
<<: *service-n8n <<: *service-n8n
hostname: n8n-import
container_name: n8n-import container_name: n8n-import
entrypoint: /bin/sh entrypoint: /bin/sh
command: command:
@@ -76,6 +76,7 @@ services:
n8n: n8n:
<<: *service-n8n <<: *service-n8n
hostname: n8n
container_name: n8n container_name: n8n
restart: unless-stopped restart: unless-stopped
ports: ports:
@@ -92,6 +93,7 @@ services:
qdrant: qdrant:
image: qdrant/qdrant image: qdrant/qdrant
hostname: qdrant
container_name: qdrant container_name: qdrant
networks: ['demo'] networks: ['demo']
restart: unless-stopped restart: unless-stopped