.
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
This commit is contained in:
parent
95247ebe16
commit
83f601c7b6
|
@ -245,8 +245,10 @@ sh init-mongo-chat.sh $ID
|
|||
|
||||
### scale chat and ngrok and nginx
|
||||
|
||||
if ngrok required $NGROK=1 else $NGROK=0
|
||||
|
||||
```
|
||||
sh init-scale.sh stack
|
||||
sh init-scale.sh stack $NGROK
|
||||
```
|
||||
|
||||
### create a gitea drone application
|
||||
|
@ -263,9 +265,11 @@ export DRONE_GITEA_CLIENT_SECRET=ytsgdyXI_6zUrqwsI1wsssBAaUcsp27EyecT4nk5fA=
|
|||
|
||||
### redeploy
|
||||
|
||||
if ngrok required $NGROK=1 else $NGROK=0
|
||||
|
||||
```
|
||||
docker stack deploy -c docker-compose.yml $SIGYL_STACK_NAME
|
||||
sh init-scale.sh stack
|
||||
sh init-scale.sh stack $NGROK
|
||||
```
|
||||
|
||||
### drone secrets
|
||||
|
|
|
@ -14,12 +14,12 @@ services:
|
|||
- CERTBOT_EMAIL=${CERTBOT_EMAIL}
|
||||
- SERVER_NAME=${GIT_DOMAIN}
|
||||
- PROXY_PASS=http://gitea:3000/
|
||||
- BLOG_PROXY_PASS=http://ghost:2368
|
||||
- CHAT_PROXY_PASS=http://chat:3000
|
||||
- BLOG_PROXY_PASS=http://ghost:2368/
|
||||
- CHAT_PROXY_PASS=http://chat:3000/
|
||||
- REMOTE_PROXY_PASS=http://guacamole:8080/guacamole/
|
||||
- DRONE_PROXY_PASS=http://drone-server:8080
|
||||
- REGISTRY_PROXY_PASS=http://registry-1:5000
|
||||
- PORTAINER_PROXY_PASS=http://portainer:8000
|
||||
- DRONE_PROXY_PASS=http://drone-server:8080/
|
||||
- REGISTRY_PROXY_PASS=http://registry-1:5000/
|
||||
- PORTAINER_PROXY_PASS=http://portainer:9000/
|
||||
- PORTAINER_LOCATION=/portainer/
|
||||
- GIT_LOCATION=/git/
|
||||
- BLOG_LOCATION=/
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
docker service scale $1_chat=1
|
||||
docker service scale $1_ngrok=1
|
||||
docker service scale $1_ngrok=$2
|
||||
docker service scale $1_letsencrypt-drone=1
|
||||
docker service scale $1_letsencrypt-git=1
|
||||
|
|
Reference in New Issue