fix: image digests
This commit is contained in:
parent
f76f87d9b0
commit
e44ab46af2
15
README.md
15
README.md
|
@ -1,9 +1,24 @@
|
|||
# chat
|
||||
|
||||
## secrets
|
||||
|
||||
* chat-admin-name
|
||||
* chat-admin-password
|
||||
* git-domain
|
||||
* local-docker-registry
|
||||
* 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
|
||||
restart_policy:
|
||||
condition: any
|
||||
image: rocketchat/rocket.chat:3.5.4
|
||||
image: rocketchat/rocket.chat:3.5.4@sha256:f5978d325f9b63abe42adebecb9a3b891fa5ffaf9840ea252c134ed9ac6c09b8
|
||||
networks:
|
||||
- appnet
|
||||
- externalnet
|
||||
|
@ -28,7 +28,7 @@ services:
|
|||
replicas: 1
|
||||
restart_policy:
|
||||
condition: any
|
||||
image: mongo:4.4
|
||||
image: mongo:4.4.0@sha256:ebd31eaac273a9544a33387aa859b0a8676565340a40fc824fa7bda686f462f1
|
||||
networks:
|
||||
- appnet
|
||||
environment:
|
||||
|
@ -44,7 +44,6 @@ volumes:
|
|||
networks:
|
||||
appnet:
|
||||
driver: overlay
|
||||
#external: true
|
||||
externalnet:
|
||||
driver: overlay
|
||||
external: true
|
||||
|
|
Loading…
Reference in New Issue