Skip to content

Commit

Permalink
Merge pull request #1231 from jannismilz/canary
Browse files Browse the repository at this point in the history
feat: upgrade listmonk version
  • Loading branch information
Siumauricio authored Jan 31, 2025
2 parents dc9a194 + e21e0e1 commit 6cf96df
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
6 changes: 3 additions & 3 deletions apps/dokploy/templates/listmonk/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
db:
image: postgres:13
image: postgres:17-alpine
ports:
- 5432
networks:
Expand All @@ -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:
Expand All @@ -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:
Expand Down
7 changes: 1 addition & 6 deletions apps/dokploy/templates/listmonk/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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[] = [
{
Expand All @@ -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",
];

Expand All @@ -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
Expand Down

0 comments on commit 6cf96df

Please sign in to comment.