fix: image digests
This commit is contained in:
parent
f76f87d9b0
commit
e44ab46af2
15
README.md
15
README.md
|
@ -1,9 +1,24 @@
|
||||||
# chat
|
# chat
|
||||||
|
|
||||||
## secrets
|
## secrets
|
||||||
|
|
||||||
* chat-admin-name
|
* chat-admin-name
|
||||||
* chat-admin-password
|
* chat-admin-password
|
||||||
* git-domain
|
* git-domain
|
||||||
* local-docker-registry
|
* local-docker-registry
|
||||||
* registry-password
|
* registry-password
|
||||||
|
|
||||||
|
## initialise mongo
|
||||||
|
|
||||||
|
https://docs.rocket.chat/installation/manual-installation/mongo-replicas
|
||||||
|
|
||||||
|
```shell
|
||||||
|
docker exec -it [mongo container id] mongo
|
||||||
|
rs.initiate()
|
||||||
|
```
|
||||||
|
|
||||||
|
## scale chat
|
||||||
|
|
||||||
|
```shell
|
||||||
|
docker service scale chat_chat=1
|
||||||
|
```
|
||||||
|
|
|
@ -7,7 +7,7 @@ services:
|
||||||
replicas: 0 # will scale after mongo initated
|
replicas: 0 # will scale after mongo initated
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: any
|
condition: any
|
||||||
image: rocketchat/rocket.chat:3.5.4
|
image: rocketchat/rocket.chat:3.5.4@sha256:f5978d325f9b63abe42adebecb9a3b891fa5ffaf9840ea252c134ed9ac6c09b8
|
||||||
networks:
|
networks:
|
||||||
- appnet
|
- appnet
|
||||||
- externalnet
|
- externalnet
|
||||||
|
@ -28,7 +28,7 @@ services:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: any
|
condition: any
|
||||||
image: mongo:4.4
|
image: mongo:4.4.0@sha256:ebd31eaac273a9544a33387aa859b0a8676565340a40fc824fa7bda686f462f1
|
||||||
networks:
|
networks:
|
||||||
- appnet
|
- appnet
|
||||||
environment:
|
environment:
|
||||||
|
@ -44,7 +44,6 @@ volumes:
|
||||||
networks:
|
networks:
|
||||||
appnet:
|
appnet:
|
||||||
driver: overlay
|
driver: overlay
|
||||||
#external: true
|
|
||||||
externalnet:
|
externalnet:
|
||||||
driver: overlay
|
driver: overlay
|
||||||
external: true
|
external: true
|
||||||
|
|
Loading…
Reference in New Issue