mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-21 17:56:53 +02:00
update n8n
This commit is contained in:
parent
4420f0f243
commit
c3c08424a5
@ -1,4 +1,4 @@
|
||||
version: "3.7"
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
|
||||
@ -19,10 +19,10 @@ services:
|
||||
- DB_PASSWD=gitea
|
||||
depends_on:
|
||||
- postgres
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
|
||||
postgres:
|
||||
image: postgres:12-alpine
|
||||
image: postgres:13-alpine
|
||||
ports:
|
||||
- "5432:5432"
|
||||
volumes:
|
||||
@ -31,4 +31,4 @@ services:
|
||||
- POSTGRES_USER=gitea
|
||||
- POSTGRES_PASSWORD=gitea
|
||||
- POSTGRES_DB=gitea
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
|
@ -1,9 +1,35 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
|
||||
n8n:
|
||||
image: n8nio/n8n
|
||||
ports:
|
||||
- "5678:5678"
|
||||
volumes:
|
||||
- ./data:/root/.n8n
|
||||
- ./data:/home/node/.n8n
|
||||
environment:
|
||||
- DB_TYPE=postgresdb
|
||||
- DB_POSTGRESDB_HOST=postgres
|
||||
- DB_POSTGRESDB_PORT=5432
|
||||
- DB_POSTGRESDB_DATABASE=n8n
|
||||
- DB_POSTGRESDB_USER=n8n
|
||||
- DB_POSTGRESDB_PASSWORD=n8n
|
||||
- N8N_BASIC_AUTH_ACTIVE=true
|
||||
- N8N_BASIC_AUTH_USER=username
|
||||
- N8N_BASIC_AUTH_PASSWORD=password
|
||||
depends_on:
|
||||
- postgres
|
||||
restart: unless-stopped
|
||||
|
||||
postgres:
|
||||
image: postgres:13-alpine
|
||||
ports:
|
||||
- "5432:5432"
|
||||
volumes:
|
||||
- ./data/postgres:/var/lib/postgresql/data
|
||||
environment:
|
||||
- POSTGRES_USER=n8n
|
||||
- POSTGRES_PASSWORD=n8n
|
||||
- POSTGRES_DB=n8n
|
||||
restart: unless-stopped
|
||||
|
Loading…
Reference in New Issue
Block a user