Skip to content

Instantly share code, notes, and snippets.

[Thu, 18 Feb 2016 12:02:20 GMT] [info] [<0.4573.0>] Retrying GET request to http://admin:*****@couchdb01.node.intern:5984/_users/_local/b6f4e92409b5746db8e4195fbc0f190a in 16.0 seconds due to error {code,500}
[Thu, 18 Feb 2016 12:02:20 GMT] [info] [<0.163.0>] 10.1.0.58 - - GET /apps/ 200
[Thu, 18 Feb 2016 12:02:20 GMT] [info] [<0.154.0>] 10.1.0.58 - - GET /ip-address/ 200
[Thu, 18 Feb 2016 12:02:25 GMT] [info] [<0.163.0>] 10.1.0.58 - - GET /apps/ 200
[Thu, 18 Feb 2016 12:02:25 GMT] [info] [<0.154.0>] 10.1.0.58 - - GET /ip-address/ 200
[Thu, 18 Feb 2016 12:02:30 GMT] [info] [<0.163.0>] 10.1.0.58 - - GET /apps/ 200
[Thu, 18 Feb 2016 12:02:30 GMT] [info] [<0.154.0>] 10.1.0.58 - - GET /ip-address/ 200
[Thu, 18 Feb 2016 12:02:34 GMT] [error] [<0.4577.0>] ** Generic server <0.4577.0> terminating
** Last message in was {'EXIT',<0.4573.0>,killed}
** When Server state == {state,"http://admin:pass@couchdb01.node.intern:5984/_users/",
[Thu, 18 Feb 2016 12:02:12 GMT] [info] [<0.7152.0>] Stacktrace: [{couch_btree,lookup,3,
[{file,"couch_btree.erl"},{line,219}]},
{couch_btree,lookup,2,
[{file,"couch_btree.erl"},{line,208}]},
{couch_db,open_doc_int,3,
[{file,"couch_db.erl"},{line,1192}]},
{couch_db,open_doc,3,
[{file,"couch_db.erl"},{line,141}]},
{couch_httpd_db,couch_doc_open,4,
[{file,"couch_httpd_db.erl"},{line,802}]},
{
"permissive" : true,
"run_tasks": [
{
"principals": { "values": ["marathon", "jenkins", "chronos"] },
"users": { "values": ["root"] }
}
],
"shutdown_frameworks": [
{
{
"project": "oh-hai",
"services": [
{
"id": "frontend",
"apps": [
{
"id": "apache",
"domain": {
"type": "HTTP",
version: '2'
services:
web:
image: mikemichel/hackathon-starter:0.1
ports:
- "80:3000"
depends_on:
- mongo
networks:
{
"signatures": [{
"header": {
"alg": "ES256",
"jwk": {
"y": "OD9FZrrTo5nBzndcvpwlqrzzoZ4PI4BbYcdvfAvHdbA",
"x": "ldmqX-aMDXSs3_zCy8co89v6v5CJh9nAskmLW7a4vIw",
"crv": "P-256",
"kty": "EC",
"kid": "CH7Z:EUDI:ZK45:Z644:ZVCW:AXKU:TNHT:G23N:QUDL:PXLW:4RSV:QTF4"
{
"project": "rentit",
"services": [
{
"id": "rentit-ref",
"apps": [
{
"env": {
"POSTGRES_PORT_5432_TCP_ADDR": "postgres.database.rentit",
"POSTGRES_PORT_5432_TCP_PORT": "5432",
build:
box: node:0.12.7-onbuild
steps:
- script:
name: echo nodejs information
code: |
echo "node version $(node -v) running"
echo "npm version $(npm -v) running"
echo $WERCKER_GIT_COMMIT
- npm-install
project: "ymlftw"
services:
frontend:
apache:
image: "sloppy/apache-php"
instances: 1
mem: 128
domain: "baoh.sloppy.zone"
ports:
- 80
@MikeMichel
MikeMichel / gist:1088bd70165576925825f37a46393936
Created February 13, 2017 09:34
add a service to a running project
start following wordpress.yml with
sloppy start -var=URI:mywordpress.sloppy.zone -var=DBUSER:wpadmin -var=DBPASS:secret -var=DBROOT:moresecret wordpress.yml
wordpress.yml:
version: "v1"
project: "wordpress"
services:
frontend: