Skip to content
Discussion options

You must be logged in to vote

The import container does, as the name implies, import a starter workflow and some credentials that you need for it. It does so by connecting to the database, running the import and then exiting. The main n8n instance then takes over. This last bit works by the following setting in docker-compose.yml:

    depends_on:
...
      n8n-import:
        condition: service_completed_successfully

The import happens in the n8n-import container using:

    entrypoint: /bin/sh
    command:
      - "-c"
      - "n8n import:credentials --separate --input=/backup/credentials && n8n import:workflow --separate --input=/backup/workflows"

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@lkraider
Comment options

@jeanpaul
Comment options

Answer selected by ciyo65
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants