Upload 6 files
Browse files- .gitattributes +1 -0
- Dockerfile +22 -0
- README.md +3 -10
- data/config +3 -0
- data/database.sqlite +3 -0
- data/n8nEventLog.log +0 -0
- requirements.txt +0 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
data/database.sqlite filter=lfs diff=lfs merge=lfs -text
|
Dockerfile
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Use official n8n image
|
2 |
+
FROM n8nio/n8n
|
3 |
+
|
4 |
+
# Set environment variables (you can change these as needed)
|
5 |
+
ENV N8N_BASIC_AUTH_ACTIVE=true
|
6 |
+
ENV N8N_BASIC_AUTH_USER=admin
|
7 |
+
ENV N8N_BASIC_AUTH_PASSWORD=yourpassword
|
8 |
+
ENV N8N_HOST=0.0.0.0
|
9 |
+
ENV N8N_PORT=7860
|
10 |
+
ENV DB_TYPE=sqlite
|
11 |
+
|
12 |
+
# Copy your local .n8n data (contains workflows, credentials, etc.)
|
13 |
+
COPY ./data /home/node/.n8n
|
14 |
+
|
15 |
+
# Make sure the permissions are correct
|
16 |
+
RUN chown -R node:node /home/node/.n8n
|
17 |
+
|
18 |
+
# Expose the port for Hugging Face Spaces
|
19 |
+
EXPOSE 7860
|
20 |
+
|
21 |
+
# Start n8n
|
22 |
+
CMD ["n8n", "start"]
|
README.md
CHANGED
@@ -1,10 +1,3 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
colorFrom: blue
|
5 |
-
colorTo: indigo
|
6 |
-
sdk: docker
|
7 |
-
pinned: false
|
8 |
-
---
|
9 |
-
|
10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
1 |
+
# n8n Docker App
|
2 |
+
|
3 |
+
This Hugging Face Space runs n8n using Docker with preloaded workflows and credentials.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
data/config
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"encryptionKey": "bVWwFS3qq+DMjscI+6V1TVHUqpMCxBrx"
|
3 |
+
}
|
data/database.sqlite
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a27206d7d563c38778bc06f0d3c4582f4a74d2db5dbc60ec72f413c2f2c6717a
|
3 |
+
size 421888
|
data/n8nEventLog.log
ADDED
File without changes
|
requirements.txt
ADDED
File without changes
|