9 Commits

Author SHA1 Message Date
83b4479bb6 chore: publish 1.0.2+latest release
Some checks failed
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is failing
2024-11-14 14:18:24 +01:00
fbecd487bd chore: publish 1.0.1+latest release
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/tag Build is passing
2024-11-14 14:13:04 +01:00
80334f05f3 chore: publish 1.0.0+latest release
Some checks failed
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is failing
2024-11-14 13:42:48 +01:00
616b87296d Merge branch 'mariadb'
Some checks failed
continuous-integration/drone/push Build is failing
2024-11-14 13:34:50 +01:00
f82019e24b chore: bump entrypoint version
Some checks failed
continuous-integration/drone/push Build is failing
2024-10-08 14:41:17 +02:00
a443813998 fix: invalid secret name 2024-10-08 14:41:17 +02:00
9ab54dbf8d add mariadb support 2024-10-08 14:41:16 +02:00
3wc
96faa55289 Add db volume
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-02 13:54:04 -04:00
3wc
1b7a48d51d chore: publish 0.5.1+1.23.11-alpine release
All checks were successful
continuous-integration/drone/tag Build is passing
2024-07-02 13:04:01 -04:00
4 changed files with 53 additions and 3 deletions

View File

@ -1 +1 @@
export APP_ENTRYPOINT_VERSION=v1
export APP_ENTRYPOINT_VERSION=v2

View File

@ -40,9 +40,9 @@ 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=0.6.0+latest"
- "coop-cloud.${STACK_NAME}.version=1.0.2+latest"
healthcheck:
test: 'curl -L localhost:3001'
test: "curl -L localhost:3001"
interval: 30s
timeout: 10s
retries: 5

29
release/1.0.0+latest Normal file
View File

@ -0,0 +1,29 @@
!!BREAKING CHANGE!!
this version is using self-built docker image for uptime kuma to incorporate mariadb which is not officially supported yet. Performance with sqlite was really bad and uptime kuma became unusable at some point. Upgrading to this version requires manually exporting sqlite database and converting it to mariadb. Additionally there's been changes to the database structure between last published version in this so it's not enough to just export the tables, you actually need to add a bunch of fields. And importing groups and other tables is a big hassle, better stick to just `monitor`...
Here's some python to help you with this.
```
#!/usr/bin/python3
og = open("original.sql", "r")
new = open("ported.sql", "w")
for line in og:
newline = line
if line.startswith("INSERT INTO monitor VALUES"):
newarr = line[27:-3].split(",")
if len(newarr) == 77:
kafka_producer_ssl_and_topic = ["0", "0"]
arr = newarr[:66] + kafka_producer_ssl_and_topic + newarr[66:75] + ["'keyword'", "NULL", "NULL", "'2c'", "NULL", "0", "'{}'"]
newline = "INSERT INTO monitor VALUES(" + ",".join(arr) + ");\n"
else:
newline = "--" + line
else:
pass
new.writelines(newline)
og.close()
new.close()
```

21
release/convertmonitor.py Executable file
View File

@ -0,0 +1,21 @@
#!/usr/bin/python3
og = open("original.sql", "r")
new = open("ported.sql", "w")
for line in og:
newline = line
if line.startswith("INSERT INTO monitor VALUES"):
newarr = line[27:-3].split(",")
if len(newarr) == 77:
kafka_producer_ssl_and_topic = ["0", "0"]
arr = newarr[:66] + kafka_producer_ssl_and_topic + newarr[66:75] + ["'keyword'", "NULL", "NULL", "'2c'", "NULL", "0", "'{}'"]
newline = "INSERT INTO monitor VALUES(" + ",".join(arr) + ");\n"
else:
newline = "--" + line
else:
pass
new.writelines(newline)
og.close()
new.close()