Uploading Everything
Uploading Every Docker Compose YML file to the Repo
This commit is contained in:
58
n8n/docker-compose.yml
Normal file
58
n8n/docker-compose.yml
Normal file
@@ -0,0 +1,58 @@
|
||||
name: n8n
|
||||
services:
|
||||
db-n8n:
|
||||
container_name: db-n8n
|
||||
environment:
|
||||
- POSTGRES_DB=n8n
|
||||
- POSTGRES_PASSWORD=bigbearcasaos
|
||||
- POSTGRES_USER=bigbearcasaos
|
||||
hostname: db-n8n
|
||||
healthcheck:
|
||||
test:
|
||||
- CMD-SHELL
|
||||
- pg_isready -h localhost -U bigbearcasaos -d n8n
|
||||
timeout: 5s
|
||||
interval: 5s
|
||||
retries: 10
|
||||
image: postgres:18.1
|
||||
restart: always
|
||||
volumes:
|
||||
- C:\Data\AppData\n8n\pgdata:/var/lib/postgresql
|
||||
networks:
|
||||
- default
|
||||
|
||||
n8n:
|
||||
container_name: n8n
|
||||
depends_on:
|
||||
db-n8n:
|
||||
condition: service_healthy
|
||||
required: true
|
||||
image: n8nio/n8n:latest
|
||||
restart: always
|
||||
ports:
|
||||
- 5678:5678
|
||||
environment:
|
||||
- DB_POSTGRESDB_DATABASE=n8n
|
||||
- DB_POSTGRESDB_HOST=db-n8n
|
||||
- DB_POSTGRESDB_PASSWORD=bigbearcasaos
|
||||
- DB_POSTGRESDB_PORT=5432
|
||||
- DB_POSTGRESDB_USER=bigbearcasaos
|
||||
- DB_TYPE=postgresdb
|
||||
- N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true
|
||||
- N8N_HOST=n8n.mohandl3g.ly
|
||||
- N8N_PORT=5678
|
||||
- N8N_PROTOCOL=https
|
||||
- N8N_RUNNERS_ENABLED=true
|
||||
- NODE_ENV=production
|
||||
- WEBHOOK_URL=https://n8n.mohandl3g.ly/
|
||||
- GENERIC_TIMEZONE=Africa/Tripoli
|
||||
- TZ=Africa/Tripoli
|
||||
volumes:
|
||||
- C:\Data\AppData\n8n\.n8n:/home/node/.n8n
|
||||
- C:\Data\AppData\n8n\files:/files
|
||||
networks:
|
||||
- default
|
||||
|
||||
networks:
|
||||
default:
|
||||
name: n8n_default
|
||||
Reference in New Issue
Block a user