mirror of
https://github.com/falcosecurity/falco.git
synced 2025-10-22 12:27:10 +00:00
Update the express version to mitigate some security vulnerabilities. Update the port to match the one used by demo.yml. Change to /usr/src/app so npm install works as expected.
22 lines
554 B
YAML
22 lines
554 B
YAML
express_server:
|
|
container_name: express_server
|
|
image: node:latest
|
|
command: bash -c "apt-get -y update && apt-get -y install runit && cd /usr/src/app && npm install && runsv /usr/src/app"
|
|
ports:
|
|
- "8181:8181"
|
|
volumes:
|
|
- ${PWD}:/usr/src/app
|
|
|
|
falco:
|
|
container_name: falco
|
|
image: sysdig/falco:latest
|
|
privileged: true
|
|
volumes:
|
|
- /var/run/docker.sock:/host/var/run/docker.sock
|
|
- /dev:/host/dev
|
|
- /proc:/host/proc:ro
|
|
- /boot:/host/boot:ro
|
|
- /lib/modules:/host/lib/modules:ro
|
|
- /usr:/host/usr:ro
|
|
tty: true
|