Run update.sh
This commit is contained in:
parent
0e0b57fae5
commit
6a4f370f0e
|
|
@ -153,7 +153,7 @@ services:
|
||||||
- TENANT_PASSWORD=secret
|
- TENANT_PASSWORD=secret
|
||||||
- PLATFORM_LOGIN=pfadmin
|
- PLATFORM_LOGIN=pfadmin
|
||||||
- PLATFORM_PASSWORD=pfsecret
|
- PLATFORM_PASSWORD=pfsecret
|
||||||
restart: always
|
restart: on-failure:2
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
entrypoint:
|
entrypoint:
|
||||||
|
|
@ -165,6 +165,7 @@ services:
|
||||||
export PGPASSWORD="$$POSTGRES_ENV_POSTGRES_PASSWORD"
|
export PGPASSWORD="$$POSTGRES_ENV_POSTGRES_PASSWORD"
|
||||||
maxTries=10
|
maxTries=10
|
||||||
while [ "$$maxTries" -gt 0 ] && ! psql -h "$$DB_HOST" -U 'postgres' -c '\l'; do
|
while [ "$$maxTries" -gt 0 ] && ! psql -h "$$DB_HOST" -U 'postgres' -c '\l'; do
|
||||||
|
let maxTries--
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
echo
|
echo
|
||||||
|
|
@ -175,7 +176,7 @@ services:
|
||||||
exec /opt/files/startup.sh
|
exec /opt/files/startup.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
[](http://play-with-docker.com?stack=https://raw.githubusercontent.com/docker-library/docs/9efeec18b6b2ed232cf0fbd3914b6211e16e242c/bonita/stack.yml)
|
[](http://play-with-docker.com?stack=https://raw.githubusercontent.com/docker-library/docs/d7f952b15103e355727ad55d428e55c84383aca9/bonita/stack.yml)
|
||||||
|
|
||||||
Run `docker stack deploy -c stack.yml bonita` (or `docker-compose -f stack.yml up`), wait for it to initialize completely, and visit `http://swarm-ip:8080`, `http://localhost:8080`, or `http://host-ip:8080` (as appropriate).
|
Run `docker stack deploy -c stack.yml bonita` (or `docker-compose -f stack.yml up`), wait for it to initialize completely, and visit `http://swarm-ip:8080`, `http://localhost:8080`, or `http://host-ip:8080` (as appropriate).
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue