mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
feat: Upgrade listmonk version and remove automatic admin credentials creation
This commit is contained in:
parent
dc9a194bbe
commit
e21e0e1865
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user