Fix/n8n base url (#1786)
* fix(n8n): add protocol to N8N_EDITOR_BASE_URL * chore(n8n): remove un-used postgres db
This commit is contained in:
		
							parent
							
								
									15d008333c
								
							
						
					
					
						commit
						071cfe3549
					
				|  | @ -5,11 +5,9 @@ | ||||||
|   "exposable": true, |   "exposable": true, | ||||||
|   "port": 8094, |   "port": 8094, | ||||||
|   "id": "n8n", |   "id": "n8n", | ||||||
|   "tipi_version": 23, |   "tipi_version": 25, | ||||||
|   "version": "0.237.0", |   "version": "0.237.0", | ||||||
|   "categories": [ |   "categories": ["automation"], | ||||||
|     "automation" |  | ||||||
|   ], |  | ||||||
|   "description": "n8n is an extendable workflow automation tool. With a fair-code distribution model, n8n will always have visible source code, be available to self-host, and allow you to add your own custom functions, logic and apps. n8n's node-based approach makes it highly versatile, enabling you to connect anything to everything.", |   "description": "n8n is an extendable workflow automation tool. With a fair-code distribution model, n8n will always have visible source code, be available to self-host, and allow you to add your own custom functions, logic and apps. n8n's node-based approach makes it highly versatile, enabling you to connect anything to everything.", | ||||||
|   "short_desc": "Workflow Automation Tool. Alternative to Zapier", |   "short_desc": "Workflow Automation Tool. Alternative to Zapier", | ||||||
|   "author": "n8n.io", |   "author": "n8n.io", | ||||||
|  |  | ||||||
|  | @ -1,4 +1,4 @@ | ||||||
| version: "3.7" | version: '3.7' | ||||||
| 
 | 
 | ||||||
| services: | services: | ||||||
|   n8n: |   n8n: | ||||||
|  | @ -11,15 +11,7 @@ services: | ||||||
|       - ${APP_DATA_DIR}/data/n8n:/home/node/.n8n |       - ${APP_DATA_DIR}/data/n8n:/home/node/.n8n | ||||||
|     command: /bin/sh -c "sleep 5; n8n start" |     command: /bin/sh -c "sleep 5; n8n start" | ||||||
|     environment: |     environment: | ||||||
|       - DB-TYPE=postgresdb |       - N8N_EDITOR_BASE_URL=${APP_PROTOCOL:-http}://${APP_DOMAIN} | ||||||
|       - DB_POSTGRESDB_DATABASE=n8n |  | ||||||
|       - DB_POSTGRESDB_HOST=db-n8n |  | ||||||
|       - DB_POSTGRESDB_PORT=5432 |  | ||||||
|       - DB_POSTGRESDB_USER=tipi |  | ||||||
|       - DB_POSTGRESDB_PASSWORD=tipi |  | ||||||
|       - N8N_EDITOR_BASE_URL=${APP_DOMAIN} |  | ||||||
|     depends_on: |  | ||||||
|       - db-n8n |  | ||||||
|     networks: |     networks: | ||||||
|       - tipi_main_network |       - tipi_main_network | ||||||
|     labels: |     labels: | ||||||
|  | @ -47,16 +39,3 @@ services: | ||||||
|       traefik.http.routers.n8n-local.entrypoints: websecure |       traefik.http.routers.n8n-local.entrypoints: websecure | ||||||
|       traefik.http.routers.n8n-local.service: n8n |       traefik.http.routers.n8n-local.service: n8n | ||||||
|       traefik.http.routers.n8n-local.tls: true |       traefik.http.routers.n8n-local.tls: true | ||||||
| 
 |  | ||||||
|   db-n8n: |  | ||||||
|     container_name: db-n8n |  | ||||||
|     image: postgres:14.2 |  | ||||||
|     restart: on-failure |  | ||||||
|     volumes: |  | ||||||
|       - ${APP_DATA_DIR}/data/db:/var/lib/postgresql/data |  | ||||||
|     environment: |  | ||||||
|       - POSTGRES_PASSWORD=${DB_PASSWORD} |  | ||||||
|       - POSTGRES_USER=tipi |  | ||||||
|       - POSTGRES_DB=n8n |  | ||||||
|     networks: |  | ||||||
|       - tipi_main_network |  | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Nicolas Meienberger
						Nicolas Meienberger