commit 55bfab9e581eea7115244e793b80507d4c4ec91a Author: Matt Speer Date: Sat Dec 20 13:06:17 2025 -0600 initial commit diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..700c00b --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,36 @@ +version: '3.8' + +services: + n8n: + image: n8nio/n8n + ports: + - "5678:5678" + environment: + - N8N_BASIC_AUTH_ACTIVE=true + - N8N_BASIC_AUTH_USER=user + - N8N_BASIC_AUTH_PASSWORD=password + - DB_TYPE=postgresdb + - DB_POSTGRESDB_HOST=db + - DB_POSTGRESDB_PORT=5432 + - DB_POSTGRESDB_DATABASE=n8n + - DB_POSTGRESDB_USER=n8n + - DB_POSTGRESDB_PASSWORD=n8n + - NODE_FUNCTION_ALLOW_EXTERNAL=axios,qs + - N8N_EDITOR_BASE_URL=https://n8n.speerfam.net + - WEBHOOK_URL=https://n8n.speerfam.net + depends_on: + - db + restart: unless-stopped + + db: + image: postgres:12 + volumes: + - db-data:/var/lib/postgresql/data + environment: + - POSTGRES_USER=n8n + - POSTGRES_PASSWORD=n8n + - POSTGRES_DB=n8n + restart: unless-stopped + +volumes: + db-data: \ No newline at end of file diff --git a/stack.env b/stack.env new file mode 100644 index 0000000..a9fa060 --- /dev/null +++ b/stack.env @@ -0,0 +1,21 @@ +# DOMAIN_NAME and SUBDOMAIN together determine where n8n will be reachable from +# The top level domain to serve from +DOMAIN_NAME=speerfam.net + +# The subdomain to serve from +SUBDOMAIN=n8n + +# The above example serve n8n at: https://n8n.example.com + +# Optional timezone to set which gets used by Cron and other scheduling nodes +# New York is the default value if not set +GENERIC_TIMEZONE=America/Chicago + +# The email address to use for the TLS/SSL certificate creation +SSL_EMAIL=matt.speer@icloud.com + +N8N_EDITOR_BASE_URL=https://n8n.speerfam.net + +WEBHOOK_URL=https://n8n.speerfam.net + +# http://localhost:5678/rest/oauth2-credential/callback \ No newline at end of file