Comments (4)
Oh its a lot easier than that if you build the container using the npm modules you want, ie:
build
FROM node:12-alpine
RUN npm install --unsafe-perm -g @pastash/pastash @pastash/filter_app_audiocodes
EXPOSE 514
CMD [ "pastash", "--config_file=/pastash.conf" ]
compose
pastash:
image: your_pastash
container_name: pastash
volumes:
- ./pastash.conf:/pastash.conf
from pastash.
Hi @Wolffis - Please attach your Dockerfile to get assistance.
from pastash.
It's the default Dockerfile from Github
https://github.com/sipcapture/paStash/blob/next/Dockerfile
I have not really identified what could help in installing @pastash/filter_app_audiocodes other that of course
COPY pastash_sonus.conf /config/
I also tried to update the package.json with
npm install --unsafe-perm @pastash/filter_app_audiocodes
and it did add some dependencies, but it did not help in running the program. The problem might be related to zmq installation as there is even build_zmq.sh script added to the files...
from pastash.
FYI some of the warnings for zmq etc are not breaking, the application works as long as you don't use those built in modules. As per above, the best way to build in a container is using the npm skimmed version. I hope this helps!
from pastash.
Related Issues (20)
- no Audiocodes SBC syslog seen HOT 1
- Journald Log support HOT 4
- syslog input filtering not working [podman] HOT 11
- HEP relay/forwarder not working HOT 3
- Issue with Janus Events in Loki HOT 2
- paStash installation failed
- Pastash unable to install with Node Version 16. HOT 2
- app_audiocodes Error: Cannot find module 'filters/filter_app_audiocodes' HOT 5
- Add TCP Support for output Plugin `HEP`
- Make HEP network setting configurable HOT 1
- filtering netflow fields HOT 2
- prefix date and time output HOT 1
- trying to use sqlite filter HOT 17
- following issue : trying to use sqlite filter #209 HOT 3
- UDP input/output issue HOT 2
- Audiocodes SBC syslog errors HOT 13
- Amazon MSK SASL/SCRAM auth method support HOT 2
- Installation fails on Debian 10 HOT 11
- Audiocodes Plugin: ERROR TypeError: Cannot read property '1' of null HOT 6
- app_cisco (Cisco ISR) filter plugin DNS lookup error HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pastash.