Skip to content

Commit

Permalink
Replaces n8n docker config with custom
Browse files Browse the repository at this point in the history
  • Loading branch information
evindunn committed Feb 16, 2021
1 parent 49b310f commit 8ed83bf
Show file tree
Hide file tree
Showing 29 changed files with 66,789 additions and 692 deletions.
4 changes: 4 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
node_modules
packages/*/node_modules
packages/*/dist
=======
**/node_modules/**
**/dist/**
**/*.md
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ tmp
dist
npm-debug.log*
lerna-debug.log
package-lock.json
yarn.lock
google-generated-credentials.json
_START_PACKAGE
Expand Down
20 changes: 20 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
version: "3.7"
services:
n8n:
image: osiris-n8n
build:
dockerfile: docker/Dockerfile
context: .
container_name: osiris-n8n
ports: ["5678:5678"]

minio:
image: minio/minio
container_name: osiris-minio
environment:
MINIO_ACCESS_KEY: 1234
MINIO_SECRET_KEY: 567891234
command:
- server
- /data
ports: ["9000:9000"]
22 changes: 22 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
FROM node:12

# Project needs yarn to run
# https://classic.yarnpkg.com/en/docs/install/#debian-stable
RUN apt-get update && \
apt-get install apt-transport-https && \
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
apt-get update && \
apt-get install yarn -y && \
rm -rf /var/lib/apt/lists/*

COPY . /app
RUN useradd -s /bin/bash -m n8n && \
chown -R n8n:n8n /app

USER n8n
WORKDIR /app

RUN npm i && npm run bootstrap && npm run build

CMD ["npm", "run", "start"]
25 changes: 0 additions & 25 deletions docker/compose/subfolderWithSSL/.env

This file was deleted.

22 changes: 0 additions & 22 deletions docker/compose/subfolderWithSSL/README.md

This file was deleted.

55 changes: 0 additions & 55 deletions docker/compose/subfolderWithSSL/docker-compose.yml

This file was deleted.

9 changes: 0 additions & 9 deletions docker/compose/withPostgres/.env

This file was deleted.

26 changes: 0 additions & 26 deletions docker/compose/withPostgres/README.md

This file was deleted.

38 changes: 0 additions & 38 deletions docker/compose/withPostgres/docker-compose.yml

This file was deleted.

12 changes: 0 additions & 12 deletions docker/compose/withPostgres/init-data.sh

This file was deleted.

53 changes: 0 additions & 53 deletions docker/images/n8n-custom/Dockerfile

This file was deleted.

12 changes: 0 additions & 12 deletions docker/images/n8n-custom/README.md

This file was deleted.

23 changes: 0 additions & 23 deletions docker/images/n8n-custom/docker-entrypoint.sh

This file was deleted.

23 changes: 0 additions & 23 deletions docker/images/n8n-rhel7/Dockerfile

This file was deleted.

16 changes: 0 additions & 16 deletions docker/images/n8n-rhel7/README.md

This file was deleted.

Loading

0 comments on commit 8ed83bf

Please sign in to comment.