44 lines
1.0 KiB
YAML
44 lines
1.0 KiB
YAML
services:
|
|
panda-n8n:
|
|
image: n8nio/n8n
|
|
container_name: panda-n8n
|
|
restart: unless-stopped
|
|
ports:
|
|
- "5678:5678"
|
|
environment:
|
|
- DB_TYPE=postgres
|
|
- DB_POSTGRES_HOST=panda-db
|
|
- DB_POSTGRES_PORT=5432
|
|
- DB_POSTGRES_DATABASE=${POSTGRES_DB}
|
|
- DB_POSTGRES_USER=${POSTGRES_USER}
|
|
- DB_POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
|
- N8N_HOST=${N8N_HOST}
|
|
- N8N_PORT=5678
|
|
- N8N_PROTOCOL=http
|
|
- WEBHOOK_URL=${WEBHOOK_URL}
|
|
- N8N_ENCRYPTION_KEY=${N8N_ENCRYPTION_KEY}
|
|
volumes:
|
|
- n8n_data:/home/node/.n8n
|
|
depends_on:
|
|
- panda-db
|
|
|
|
panda-db:
|
|
image: postgres:13
|
|
container_name: panda-db
|
|
restart: unless-stopped
|
|
environment:
|
|
- POSTGRES_DB=${POSTGRES_DB}
|
|
- POSTGRES_USER=${POSTGRES_USER}
|
|
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
|
volumes:
|
|
- ${POSTGRES_DB_DATA_PATH}:/var/lib/postgresql/data
|
|
|
|
panda-gemini:
|
|
build: .
|
|
container_name: panda-gemini
|
|
restart: unless-stopped
|
|
command: tail -f /dev/null
|
|
|
|
volumes:
|
|
n8n_data:
|
|
|