Merge pull request #1231 from jannismilz/canary

feat: upgrade listmonk version
This commit is contained in:
Mauricio Siu 2025-01-30 23:09:01 -06:00 committed by GitHub
commit 6cf96df6ec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 9 deletions

View File

@ -1,6 +1,6 @@
services:
db:
image: postgres:13
image: postgres:17-alpine
ports:
- 5432
networks:
@ -19,7 +19,7 @@ services:
- listmonk-data:/var/lib/postgresql/data
setup:
image: listmonk/listmonk:v3.0.0
image: listmonk/listmonk:v4.1.0
networks:
- dokploy-network
volumes:
@ -35,7 +35,7 @@ services:
app:
restart: unless-stopped
image: listmonk/listmonk:v3.0.0
image: listmonk/listmonk:v4.1.0
environment:
- TZ=Etc/UTC
depends_on:

View File

@ -2,13 +2,11 @@ import {
type DomainSchema,
type Schema,
type Template,
generatePassword,
generateRandomDomain,
} from "../utils";
export function generate(schema: Schema): Template {
const randomDomain = generateRandomDomain(schema);
const adminPassword = generatePassword(32);
const domains: DomainSchema[] = [
{
@ -19,7 +17,7 @@ export function generate(schema: Schema): Template {
];
const envs = [
`# login with admin:${adminPassword}`,
`# visit the page to setup your super admin user`,
"# check config.toml in Advanced / Volumes for more options",
];
@ -29,9 +27,6 @@ export function generate(schema: Schema): Template {
content: `[app]
address = "0.0.0.0:9000"
admin_username = "admin"
admin_password = "${adminPassword}"
[db]
host = "db"
port = 5432