Their docs and forums suck to be specific about this.
Install specific packages inside the n8n Docker container and then use it in its nodes:
# Use the official n8n image as the base
FROM n8nio/n8n:1.82.4
We should simply mirror a local config file to the MySQL config directory in Docker
File: ./docker-compose.local.yml
(or however you name it)
services:
# [...]
mysql:
# [...]
image: mysql:5.7
# I'm using .zshrc but should be valid in any sh or bash shell | |
alias dexec='(){docker exec -it $1 /bin/bash;}' | |
# Use it like this: | |
# dexec <container name or ID> | |
# dexec my_website | |
# dexec ea2bdf44 |
packages: [ | |
"atom-bracket-highlight" | |
"auto-update-packages" | |
"busy-signal" | |
"color-picker" | |
"emmet" | |
"file-icons" | |
"file-templates" | |
"highlight-line" | |
"highlight-selected" |
<!-- This will include a "data-rjs" attribute on the PNG (or JPG) error fallback in case the SVG failed to load --> | |
<!-- See: https://github.com/strues/retinajs --> | |
<img src="/path/to/some.svg" onerror="this.src='/path/to/some.png'; this.data-rjs='2'; this.onerror=null;"> |
# Remove everything from Docker system | |
alias dockerpurge='docker system prune --all --force --volumes' | |
# Man I hate DS_Store files so much... | |
alias rds='find . -name '.DS_Store' -type f -delete && echo ".DS_Store files removed!"' | |
# Open the hosts file with Atom (really useful for VirtualHosts) | |
alias hosts='atom /private/etc/hosts' | |
# Go to htdocs |
# DESCRIPTION: Simple example of "read -p" and it's usage when trying to print a simple concat from a function and a user input | |
# Here we'll assume "$folder" comes from a previously-checked "getopts options" loop | |
# (given as an argument for our script/command option, like "ourscript -f MyFolderName") | |
################################################################## | |
################################################################## | |
################################################################## | |
# Print a styled "important:" text |
# Repeat this line as much as needed so you can access to project's SSH console asap using just the project name | |
alias <PROJECT_NAME>='ssh -i /Users/<USER_NAME>/.ssh/<KEY_NAME> <USER>@<HOST>' | |
# Remove everything from Docker system | |
alias dockerpurge='docker system prune --all --force --volumes' | |
# Man I hate DS_Store files so much... | |
alias rds='find . -name '.DS_Store' -type f -delete && echo ".DS_Store files removed!"' | |
# Open a new terminal window on the same location as the current one is |
<?php | |
namespace Deployer; | |
require 'recipe/common.php'; | |
// Project name | |
set('application', 'App Name'); | |
// Project repository | |
set('repository', '[email protected]:repo-name/project-name.git'); |