Skip to content

Commit

Permalink
added base and msgstats to fuge
Browse files Browse the repository at this point in the history
  • Loading branch information
rjrodger committed Dec 16, 2015
1 parent 30c8c05 commit 19f0079
Show file tree
Hide file tree
Showing 4 changed files with 86 additions and 26 deletions.
35 changes: 35 additions & 0 deletions fuge/all-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
redis:
image: redis
ports:
- 6379:6379
elasticsearch:
image: elasticsearch
command:
elasticsearch --network.bind_host=0.0.0.0 --network.publish_host=localhost
ports:
- 9200:9200
- 9300:9300
influx:
image: tutum/influxdb
ports:
- 8086:8086
- 8083:8083
beanstalkd:
image: schickling/beanstalkd
ports:
- 11300:11300
github:
build: ../../nodezoo-github/
container_name: github
info:
build: ../../nodezoo-info/
container_name: info
npm:
build: ../../nodezoo-npm/
container_name: npm
search:
build: ../../nodezoo-search/
container_name: search
web:
build: ../../nodezoo-web/
container_name: web
26 changes: 6 additions & 20 deletions fuge/compose-dev.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,9 @@
redis:
image: redis
ports:
- 6379:6379
elasticsearch:
image: elasticsearch
command:
elasticsearch --network.bind_host=0.0.0.0 --network.publish_host=localhost
ports:
- 9200:9200
- 9300:9300
influx:
image: tutum/influxdb
ports:
- 8086:8086
- 8083:8083
beanstalkd:
image: schickling/beanstalkd
ports:
- 11300:11300
base:
build: ../
container_name: base
msgstats:
build: ../
container_name: msgstats
github:
build: ../../nodezoo-github/
container_name: github
Expand Down
36 changes: 30 additions & 6 deletions fuge/fuge-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,36 @@ module.exports = {
tail: true,
restartOnError: true,
overrides: {
github: { build: 'sh build.sh' },
info: { build: 'sh build.sh' },
npmupdate: { build: 'npm install' },
npm: { build: 'npm install' },
search: { build: 'npm install' },
web: { build: 'npm install && bower install' }
msgstats: {
run: 'node system/msgstats.js'
},
base: {
run: 'node system/base-node.js'
},
github: {
run: 'node srv/github-dev.js --seneca.options.tag=github --seneca.options.debug.short_logs=true --seneca.log=type:act --seneca.options.plugin.github.token=`cat srv/.ignore-token`',
build: 'sh build.sh'
},
info: {
run: 'node srv/info-dev.js --seneca.options.tag=info --seneca.options.debug.short_logs=true --seneca.log=type:act',
build: 'sh build.sh'
},
npmupdate: {
run: 'node srv/update-dev.js --seneca.options.tag=update --seneca.options.debug.short_logs=true --seneca.log=type:act',
build: 'npm install'
},
npm: {
run: 'node srv/npm-dev.js --seneca.options.tag=npm --seneca.options.debug.short_logs=true --seneca.log=type:act',
build: 'npm install'
},
search: {
run: 'node srv/search-dev.js --seneca.options.tag=search --seneca.options.debug.short_logs=true --seneca.log=type:act',
build: 'npm install'
},
web: {
run: 'node srv/app-dev.js --seneca.options.tag=web --seneca.log=type:act --seneca.options.debug.short_logs=true',
build: 'npm install && bower install'
}
}
};

15 changes: 15 additions & 0 deletions fuge/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "nodezoo-fuge",
"version": "1.0.0",
"description": "",
"main": "index.js",
"dependencies": {
"fuge": "^0.4.3"
},
"devDependencies": {},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "MIT"
}

0 comments on commit 19f0079

Please sign in to comment.