Skip to content

Commit 6cf96df

Browse files
authored
Merge pull request #1231 from jannismilz/canary
feat: upgrade listmonk version
2 parents dc9a194 + e21e0e1 commit 6cf96df

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

apps/dokploy/templates/listmonk/docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
db:
3-
image: postgres:13
3+
image: postgres:17-alpine
44
ports:
55
- 5432
66
networks:
@@ -19,7 +19,7 @@ services:
1919
- listmonk-data:/var/lib/postgresql/data
2020

2121
setup:
22-
image: listmonk/listmonk:v3.0.0
22+
image: listmonk/listmonk:v4.1.0
2323
networks:
2424
- dokploy-network
2525
volumes:
@@ -35,7 +35,7 @@ services:
3535

3636
app:
3737
restart: unless-stopped
38-
image: listmonk/listmonk:v3.0.0
38+
image: listmonk/listmonk:v4.1.0
3939
environment:
4040
- TZ=Etc/UTC
4141
depends_on:

apps/dokploy/templates/listmonk/index.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@ import {
22
type DomainSchema,
33
type Schema,
44
type Template,
5-
generatePassword,
65
generateRandomDomain,
76
} from "../utils";
87

98
export function generate(schema: Schema): Template {
109
const randomDomain = generateRandomDomain(schema);
11-
const adminPassword = generatePassword(32);
1210

1311
const domains: DomainSchema[] = [
1412
{
@@ -19,7 +17,7 @@ export function generate(schema: Schema): Template {
1917
];
2018

2119
const envs = [
22-
`# login with admin:${adminPassword}`,
20+
`# visit the page to setup your super admin user`,
2321
"# check config.toml in Advanced / Volumes for more options",
2422
];
2523

@@ -29,9 +27,6 @@ export function generate(schema: Schema): Template {
2927
content: `[app]
3028
address = "0.0.0.0:9000"
3129
32-
admin_username = "admin"
33-
admin_password = "${adminPassword}"
34-
3530
[db]
3631
host = "db"
3732
port = 5432

0 commit comments

Comments
 (0)