generated from Nixius/template
chore: remove n8n-db service and related configurations
ci/woodpecker/push/woodpecker Pipeline failed
Details
ci/woodpecker/push/woodpecker Pipeline failed
Details
This commit is contained in:
parent
79583428ab
commit
46250e8c5a
|
|
@ -21,11 +21,6 @@ services:
|
|||
networks:
|
||||
- traefik
|
||||
environment:
|
||||
- DB_TYPE=postgresdb
|
||||
- DB_POSTGRESDB_HOST=n8n-db
|
||||
- DB_POSTGRESDB_DATABASE=n8n
|
||||
- DB_POSTGRESDB_USER=n8n
|
||||
- DB_POSTGRESDB_PASSWORD=${N8N_DB_PASSWORD}
|
||||
- N8N_HOST=${N8N_HOST:-n8n.nixc.us}
|
||||
- N8N_PORT=5678
|
||||
- N8N_PROTOCOL=${N8N_PROTOCOL:-https}
|
||||
|
|
@ -40,29 +35,7 @@ services:
|
|||
- traefik.http.routers.production_n8n.tls.certresolver=letsencryptresolver
|
||||
- traefik.http.services.production_n8n.loadbalancer.server.port=5678
|
||||
- traefik.http.routers.production_n8n.middlewares=secure-headers
|
||||
depends_on:
|
||||
- n8n-db
|
||||
|
||||
n8n-db:
|
||||
image: postgres:15-alpine
|
||||
deploy:
|
||||
replicas: 1
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
placement:
|
||||
constraints:
|
||||
- node.hostname == macmini1
|
||||
environment:
|
||||
- POSTGRES_DB=n8n
|
||||
- POSTGRES_USER=n8n
|
||||
- POSTGRES_PASSWORD=${N8N_DB_PASSWORD}
|
||||
volumes:
|
||||
- n8n_postgres:/var/lib/postgresql/data
|
||||
networks:
|
||||
- traefik
|
||||
|
||||
volumes:
|
||||
n8n_data:
|
||||
driver: local
|
||||
n8n_postgres:
|
||||
driver: local
|
||||
|
|
|
|||
Loading…
Reference in New Issue