зеркало из https://github.com/mozilla/fxa.git
Add channelserver mozilla/fxa-local-dev#130)
This commit is contained in:
Родитель
784a45e279
Коммит
7590f39d91
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh -ex
|
||||
|
||||
docker run --rm --name channelserver \
|
||||
-p 8058:8058 \
|
||||
-e PAIR_HOSTNAME=0.0.0.0 \
|
||||
-e PAIR_PORT=8058 \
|
||||
-e PAIR_DEBUG=true \
|
||||
-e PAIR_VERBOSE=true \
|
||||
-e RUST_BACKTRACE=1 \
|
||||
mozilla/channelserver:latest
|
|
@ -65,4 +65,8 @@ docker pull pafortin/goaws
|
|||
|
||||
docker pull redis
|
||||
|
||||
docker pull mysql/mysql-server:5.6
|
||||
|
||||
docker pull mozilla/channelserver
|
||||
|
||||
ln -sf node_modules/.bin/pm2 pm2
|
||||
|
|
|
@ -22,5 +22,7 @@ git pull https://github.com/mozilla/fxa-local-dev.git master
|
|||
docker network create fxa-net || true # Don't error out in case the network already exists
|
||||
|
||||
(cd 123done && git checkout -- . && git checkout oauth && git pull origin oauth && npm i && cd ..) || echo "123done update failed"
|
||||
|
||||
docker pull mozilla/syncserver || echo "syncserver update failed"
|
||||
|
||||
docker pull mozilla/channelserver || echo "channelserver update failed"
|
||||
|
|
|
@ -202,6 +202,12 @@
|
|||
"max_restarts": "1",
|
||||
"min_uptime": "2m",
|
||||
"args": "3306 root@mydb:3306"
|
||||
},
|
||||
{
|
||||
"name": "pairing channelserver PORT 8058",
|
||||
"script": "_scripts/channelserver.sh",
|
||||
"max_restarts": "1",
|
||||
"min_uptime": "2m"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -186,6 +186,12 @@
|
|||
"script": "_scripts/pushbox.sh",
|
||||
"max_restarts": "1",
|
||||
"min_uptime": "2m"
|
||||
},
|
||||
{
|
||||
"name": "pairing channelserver PORT 8058",
|
||||
"script": "_scripts/channelserver.sh",
|
||||
"max_restarts": "1",
|
||||
"min_uptime": "2m"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -89,7 +89,7 @@ check 127.0.0.1:5050 405
|
|||
|
||||
# sync server
|
||||
# address of the endpoint have to be the same as a public_url in settings
|
||||
check localhost:5000
|
||||
check 127.0.0.1:5000
|
||||
|
||||
# auth-db
|
||||
check localhost:8000
|
||||
|
|
Загрузка…
Ссылка в новой задаче