macropin / docker-strider Goto Github PK
View Code? Open in Web Editor NEWStrider-CD Docker Image
Home Page: https://hub.docker.com/r/macropin/strider/
License: MIT License
Strider-CD Docker Image
Home Page: https://hub.docker.com/r/macropin/strider/
License: MIT License
I'm looking for anyone willing to maintain this repo and keep the builds up to date with upstream.
I no longer use strider, and I'm not a node expert so I'd rather someone else take over.
I'm not sure what exactly is going on. But strider
can't be run. Any time it is, this is the error that I see. The container won't come up because of this.
I'm not sure why it can't find backoff
. I built the image from scratch from this repo and it still does it. So it doesn't appear to be a bad build.
Any ideas what might be causing this?
entry.sh >> Running addUser
module.js:487
throw err;
^
Error: Cannot find module 'backoff'
at Function.Module._resolveFilename (module.js:485:15)
at Function.Module._load (module.js:437:25)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/data/node_modules/ldapjs/lib/client/client.js:9:15)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/data/node_modules/ldapjs/lib/client/index.js:7:14)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/data/node_modules/ldapjs/lib/index.js:5:14)
at Module._compile (module.js:569:30)
Followed the instructions in the README but for some reason the container won't accept connections on port 3000. I tested some other apps on port 3000 just to make sure that the port wasn't being blocked, and the port is indeed available.
Container logs:
>> Strider Docker Image master Starting...
entry.sh >> Set MONGO_HOST=172.17.0.2, MONGO_PORT=27017
entry.sh >> Set SMTP_HOST=172.17.0.3, SMTP_PORT=587
entry.sh >> Set DB_URI=mongodb://172.17.0.2:27017/strider
entry.sh >> Copying node_modules from cache...
Exec'ing command strider
20 forked
Any ideas?
I was passing a DB_URI argument like below
-e DB_URI=mongodb://id:[email protected]:10047/db
and it parsed result was wrong.
strider@d03ceae1d912:/$ echo "$(echo ${DB_URI} | cut -d/ -f3 | cut -d \: -f2)"
[email protected]
strider@d03ceae1d912:/$ echo "$(echo ${DB_URI} | cut -d/ -f3 | cut -d \: -f1)"
id
If you want email notifications, configure an SMTP server
https://github.com/Strider-CD/strider#configuring
The SERVER_NAME
parameter is not passed as an environment variable when starting strider.
$ docker run -e SERVER_NAME http://xxx.xxx.xxx -d --link mongo --link smtp --name strider -p 80:3000 macropin/strider
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.