forked from coop-cloud/outline
Compare commits
7 Commits
2.13.0+1.1
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 355f4495fe | |||
| 68e529d369 | |||
| 92d0b679a4 | |||
| 9d479d6088 | |||
| 129e07d119 | |||
| a1955a9861 | |||
| 32ad254611 |
9
abra.sh
9
abra.sh
@ -1,4 +1,4 @@
|
||||
export APP_ENTRYPOINT_VERSION=v10
|
||||
export APP_ENTRYPOINT_VERSION=v11
|
||||
export DB_ENTRYPOINT_VERSION=v2
|
||||
export PG_BACKUP_VERSION=v1
|
||||
|
||||
@ -98,3 +98,10 @@ delete_duplicate_users() {
|
||||
delete_user_by_id "$USERID_OLD" "$USERID_NEW"
|
||||
done
|
||||
}
|
||||
|
||||
fix_collation_mismatch() {
|
||||
psql -U ${POSTGRES_USER} -d outline -c "ALTER DATABASE outline REFRESH COLLATION VERSION;"
|
||||
psql -U ${POSTGRES_USER} -d outline -c "REINDEX DATABASE outline;"
|
||||
psql -U ${POSTGRES_USER} -d postgres -c "ALTER DATABASE postgres REFRESH COLLATION VERSION;"
|
||||
psql -U ${POSTGRES_USER} -d postgres -c "REINDEX DATABASE postgres;"
|
||||
}
|
||||
|
||||
@ -6,7 +6,7 @@ services:
|
||||
networks:
|
||||
- backend
|
||||
- proxy
|
||||
image: outlinewiki/outline:1.1.0
|
||||
image: outlinewiki/outline:1.6.0
|
||||
secrets:
|
||||
- db_password
|
||||
- secret_key
|
||||
@ -34,7 +34,7 @@ services:
|
||||
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
|
||||
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
||||
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||
- "coop-cloud.${STACK_NAME}.version=2.13.0+1.1.0"
|
||||
- "coop-cloud.${STACK_NAME}.version=2.18.0+1.6.0"
|
||||
# Redirect from EXTRA_DOMAINS to DOMAIN
|
||||
- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect"
|
||||
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true"
|
||||
@ -42,12 +42,12 @@ services:
|
||||
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT}"
|
||||
|
||||
cache:
|
||||
image: redis:8.4.0
|
||||
image: redis:8.6.1
|
||||
networks:
|
||||
- backend
|
||||
|
||||
db:
|
||||
image: postgres:17.6
|
||||
image: postgres:17.9
|
||||
networks:
|
||||
- backend
|
||||
secrets:
|
||||
|
||||
@ -22,6 +22,5 @@ DATABASE_PASSWORD=$(cat /run/secrets/db_password)
|
||||
export DATABASE_URL="postgres://outline:${DATABASE_PASSWORD}@${STACK_NAME}_db:5432/outline"
|
||||
|
||||
if [ ! "$1" = "-e" ]; then
|
||||
/usr/local/bin/yarn db:migrate --env=production-ssl-disabled
|
||||
/usr/local/bin/yarn start "$@"
|
||||
node build/server/index.js
|
||||
fi
|
||||
|
||||
1
release/2.17.0+1.5.0
Normal file
1
release/2.17.0+1.5.0
Normal file
@ -0,0 +1 @@
|
||||
y
|
||||
Reference in New Issue
Block a user