Compare commits
35
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
317aa42d90 | ||
|
|
8d5457329a | ||
|
|
f497a8954c
|
||
|
|
0fb204856f | ||
|
|
0588e0590f | ||
|
|
daaabb305f | ||
|
|
eb3ee7312e | ||
|
|
f175cb7289 | ||
|
|
1590aaa7b4
|
||
|
|
c6e0b44d9f | ||
|
|
7994485cd7 | ||
|
|
5a5dfedb58
|
||
|
|
04a3042d34 | ||
|
|
b9c66a1536 | ||
|
|
3cbb99ecd1
|
||
|
|
199b92b704 | ||
|
|
184875a24c | ||
|
|
bdc8c7b823
|
||
|
|
1396682878 | ||
|
|
4440a9c08e | ||
|
|
ef8e13cdd1
|
||
|
|
8d0f15f685 | ||
|
|
00489b6acb | ||
|
|
74cfb13ce1
|
||
|
|
015bef7d78 | ||
|
|
9f1e6b3fc4 | ||
|
|
1ffea485ff | ||
|
|
a7ffa1b072 | ||
|
|
c4d2fd1db2 | ||
|
|
9fcf98eb0d | ||
|
|
81b09e4fe0 | ||
|
|
5f9d7c7172 | ||
|
|
a86f3f5072 | ||
|
|
4a06fb29ee | ||
|
|
86189220c1 |
+3
-3
@@ -3,7 +3,7 @@ kind: pipeline
|
||||
name: deploy to swarm-test.autonomic.zone
|
||||
steps:
|
||||
- name: deployment
|
||||
image: git.coopcloud.tech/coop-cloud/stack-ssh-deploy:latest
|
||||
image: git.coopcloud.tech/coop-cloud/stack-ssh-deploy:latest@sha256:fc1fa69bea5528db7ba184297735ac1bbd278720910e4cb1f502de9aee14e228
|
||||
settings:
|
||||
host: swarm-test.autonomic.zone
|
||||
stack: mattermost
|
||||
@@ -17,7 +17,7 @@ steps:
|
||||
LETS_ENCRYPT_ENV: production
|
||||
|
||||
- name: notify coopcloud-dev on failure
|
||||
image: plugins/matrix
|
||||
image: plugins/matrix@sha256:9202a26fbadeaa949c2ad0009aa5758277fb10b178f4909afc1d827d6456214e
|
||||
settings:
|
||||
homeserver: https://matrix.autonomic.zone
|
||||
roomid: "IFazIpLtxiScqbHqoa:autonomic.zone"
|
||||
@@ -38,7 +38,7 @@ kind: pipeline
|
||||
name: generate recipe catalogue
|
||||
steps:
|
||||
- name: release a new version
|
||||
image: plugins/downstream
|
||||
image: plugins/downstream@sha256:03ff02d8a5637ea5197fa08929a91dfeeb5e30b1da62b82b6c2a895b170338ca
|
||||
settings:
|
||||
server: https://build.coopcloud.tech
|
||||
token:
|
||||
|
||||
@@ -87,5 +87,8 @@ This is how to configure your Mattermost server to accept logins from your Authe
|
||||
- `abra app deploy YOURAPPNAME`
|
||||
|
||||
|
||||
# Technical Notes
|
||||
This recipe inserts a statically-compiled busybox binary from `busybox:1.25-uclibc` into the distroless container, to allow running the custom entrypoint shell script which configures Mattermost.
|
||||
|
||||
[`abra`]: https://git.coopcloud.tech/coop-cloud/abra
|
||||
[`coop-cloud/traefik`]: https://git.coopcloud.tech/coop-cloud/traefik
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
export ENTRYPOINT_VERSION=v1
|
||||
export ENTRYPOINT_VERSION=v3
|
||||
export MATTERMOST_CONFIG_VERSION=v1
|
||||
export SHELL_VERSION=v1
|
||||
|
||||
reset_config() {
|
||||
cp /config-to-copy.json /mattermost/config/config.json && touch /mattermost/config/CoopCloudManaged
|
||||
|
||||
Executable
BIN
Binary file not shown.
+1
-1
@@ -2,4 +2,4 @@ version: "3.8"
|
||||
|
||||
services:
|
||||
app:
|
||||
image: mattermost/mattermost-enterprise-edition:10.5.0
|
||||
image: mattermost/mattermost-enterprise-edition:10.11.23@sha256:6f927863c529a246bb7c4c55156611306bae952142534fa39cb724d85f85769d
|
||||
|
||||
+9
-3
@@ -2,7 +2,7 @@ version: "3.8"
|
||||
|
||||
services:
|
||||
app:
|
||||
image: mattermost/mattermost-team-edition:10.5.0
|
||||
image: mattermost/mattermost-team-edition:10.11.23@sha256:1e6be48c49ccd4824cdbe045ac226b9c632ceaa30bf812ce70ca4de45cb86b9c
|
||||
environment:
|
||||
- TZ
|
||||
- MM_SQLSETTINGS_DRIVERNAME=postgres
|
||||
@@ -28,11 +28,14 @@ services:
|
||||
- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect"
|
||||
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true"
|
||||
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
|
||||
- "coop-cloud.${STACK_NAME}.version=2.1.0+10.5.0"
|
||||
- "coop-cloud.${STACK_NAME}.version=2.3.0+10.11.23"
|
||||
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}"
|
||||
- "backupbot.backup=true"
|
||||
- "backupbot.backup.path=/mattermost,/etc/ssl"
|
||||
configs:
|
||||
- source: busybox
|
||||
target: /bin/busybox
|
||||
mode: 0555
|
||||
- source: abra_mattermost_entrypoint
|
||||
target: /abra-mattermost-entrypoint.sh
|
||||
mode: 0555
|
||||
@@ -41,7 +44,7 @@ services:
|
||||
entrypoint: /abra-mattermost-entrypoint.sh
|
||||
|
||||
postgres:
|
||||
image: postgres:15-alpine
|
||||
image: pgautoupgrade/pgautoupgrade:18-alpine@sha256:722599f0fe6483f2a97e765066e23122a780b4ea221287edfaaf67268af6757a
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
environment:
|
||||
@@ -69,6 +72,9 @@ configs:
|
||||
abra_mattermost_entrypoint:
|
||||
name: ${STACK_NAME}_entrypoint_${ENTRYPOINT_VERSION}
|
||||
file: ./entrypoint.sh
|
||||
busybox:
|
||||
name: ${STACK_NAME}_busybox_${SHELL_VERSION}
|
||||
file: ./bin/busybox
|
||||
|
||||
|
||||
networks:
|
||||
|
||||
+14
-3
@@ -1,4 +1,13 @@
|
||||
#!/bin/sh
|
||||
#!/bin/busybox sh
|
||||
/bin/busybox mkdir /tmp/bin
|
||||
export PATH=$PATH:/tmp/bin
|
||||
/bin/busybox ln -s /bin/busybox /tmp/bin/ln
|
||||
ln -s /bin/busybox /tmp/bin/cat
|
||||
ln -s /bin/busybox /tmp/bin/echo
|
||||
ln -s /bin/busybox /tmp/bin/cp
|
||||
ln -s /bin/busybox /tmp/bin/touch
|
||||
ln -s /bin/busybox /tmp/bin/rm
|
||||
|
||||
set -e
|
||||
if test -f "/run/secrets/postgres_password"; then
|
||||
pwd=`cat /run/secrets/postgres_password`
|
||||
@@ -21,5 +30,7 @@ if ! test -f "/mattermost/config/CoopCloudManaged"; then
|
||||
cp /config-to-copy.json /mattermost/config/config.json && touch /mattermost/config/CoopCloudManaged
|
||||
fi
|
||||
|
||||
# https://github.com/mattermost/mattermost-server/blob/master/build/Dockerfile
|
||||
/entrypoint.sh "mattermost"
|
||||
rm -rf /tmp/bin
|
||||
|
||||
# https://github.com/mattermost/mattermost/blob/master/server/build/Dockerfile
|
||||
/mattermost/bin/mattermost
|
||||
@@ -0,0 +1 @@
|
||||
Upgrade to Mattermost 10.11.13
|
||||
@@ -0,0 +1 @@
|
||||
Upgrade to Mattermost 10.11.14
|
||||
@@ -0,0 +1 @@
|
||||
Update Mattermost to v10.11.19
|
||||
@@ -0,0 +1 @@
|
||||
Update to 10.11.21
|
||||
@@ -0,0 +1 @@
|
||||
Update to version 10.11.22
|
||||
@@ -0,0 +1 @@
|
||||
Update to 10.11.23
|
||||
@@ -0,0 +1 @@
|
||||
WARNING: Take a backup before upgrading to this release. This release moves from Postgres 16 to pgautoupgrade 18.
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": [
|
||||
"config:recommended"
|
||||
],
|
||||
"packageRules": [
|
||||
{
|
||||
"matchDatasources": [
|
||||
"docker"
|
||||
],
|
||||
"pinDigests": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user