n8n: create basic Dockerfile
The one on the Docker hub doesn't like our setup very much
This commit is contained in:
parent
593f355eba
commit
d9dcec2cc2
3 changed files with 16 additions and 1 deletions
|
@ -94,11 +94,12 @@ UID | GID | Container | Notes
|
||||||
10200 | 10200 | archivebox |
|
10200 | 10200 | archivebox |
|
||||||
10300 | 10300 | tinyproxy |
|
10300 | 10300 | tinyproxy |
|
||||||
10400 | 10400 | json2collectdmqtt | `chown` environment file to `10400:10400`, as it's loaded by a startup shell script inside the container
|
10400 | 10400 | json2collectdmqtt | `chown` environment file to `10400:10400`, as it's loaded by a startup shell script inside the container
|
||||||
|
10500 | 10500 | n8n |
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Container from the main public Docker registry:
|
Container from the main public Docker registry:
|
||||||
|
|
||||||
n8n: 11100
|
(none documented yet, though we do use one for music.mooncarrot.space)
|
||||||
|
|
||||||
Note that user ids for these are set in the Nomad job spec file, and not in the Dockerfile for the container itself.
|
Note that user ids for these are set in the Nomad job spec file, and not in the Dockerfile for the container itself.
|
||||||
-->
|
-->
|
||||||
|
|
13
images/n8n/Dockerfile
Normal file
13
images/n8n/Dockerfile
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
ARG REPO_LOCATION
|
||||||
|
|
||||||
|
FROM ${REPO_LOCATION}minideb-node
|
||||||
|
|
||||||
|
RUN npm install -g n8n
|
||||||
|
|
||||||
|
USER 10500:10500
|
||||||
|
|
||||||
|
VOLUME /srv
|
||||||
|
# Tell n8n to store stuff in /srv
|
||||||
|
ENV HOME=/srv
|
||||||
|
|
||||||
|
ENTRYPOINT [ "/usr/local/bin/n8n" ]
|
1
images/n8n/type.txt
Normal file
1
images/n8n/type.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
docker
|
Loading…
Reference in a new issue