Initiale Version
This commit is contained in:
parent
42557a12ad
commit
7b7ce7aa12
|
|
@ -0,0 +1,43 @@
|
||||||
|
version: "3.9"
|
||||||
|
|
||||||
|
services:
|
||||||
|
n8n:
|
||||||
|
image: n8nio/n8n:latest
|
||||||
|
container_name: n8n
|
||||||
|
environment:
|
||||||
|
- GENERIC_TIMEZONE=Europe/Amsterdam
|
||||||
|
- NODE_ENV=production
|
||||||
|
- N8N_SECURE_COOKIE=false
|
||||||
|
ports:
|
||||||
|
- "5678:5678"
|
||||||
|
volumes:
|
||||||
|
- n8n_data:/home/node/.n8n
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- jobsnet
|
||||||
|
|
||||||
|
puppeteer-scraper:
|
||||||
|
image: node:20-bullseye
|
||||||
|
container_name: puppeteer-scraper
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- "3000:3000"
|
||||||
|
working_dir: /app
|
||||||
|
volumes:
|
||||||
|
- /docker/puppeteer-scraper:/app
|
||||||
|
networks:
|
||||||
|
- jobsnet
|
||||||
|
command: >
|
||||||
|
sh -c "
|
||||||
|
apt-get update &&
|
||||||
|
apt-get install -y chromium &&
|
||||||
|
npm install puppeteer express body-parser cors &&
|
||||||
|
node server.js
|
||||||
|
"
|
||||||
|
|
||||||
|
networks:
|
||||||
|
jobsnet:
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
n8n_data:
|
||||||
|
name: n8n_data
|
||||||
Loading…
Reference in New Issue