mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
fix: code review changes
This commit is contained in:
parent
e49b190c32
commit
aa347abfcd
@ -1,9 +1,9 @@
|
||||
services:
|
||||
doublezero:
|
||||
restart: always
|
||||
image: liltechnomancer/double-zero:latest
|
||||
image: liltechnomancer/double-zero:0.2.1
|
||||
ports:
|
||||
- 4000:4000
|
||||
- ${DOUBLEZERO_PORT}
|
||||
networks:
|
||||
- dokploy-network
|
||||
volumes:
|
||||
|
@ -3,16 +3,19 @@ import {
|
||||
generateRandomDomain,
|
||||
type Template,
|
||||
type Schema,
|
||||
generateBase64,
|
||||
} from "../utils";
|
||||
|
||||
export function generate(schema: Schema): Template {
|
||||
const mainServiceHash = generateHash(schema.projectName);
|
||||
const randomDomain = generateRandomDomain(schema);
|
||||
const secretKeyBase = generateBase64(64);
|
||||
|
||||
const envs = [
|
||||
`DOUBLEZERO_HOST=${randomDomain}`,
|
||||
"DOUBLEZERO_PORT=4000",
|
||||
`HASH=${mainServiceHash}`,
|
||||
"SECRET_KEY_BASE=",
|
||||
`SECRET_KEY_BASE=${secretKeyBase}`,
|
||||
"AWS_ACCESS_KEY_ID=",
|
||||
"AWS_SECRET_ACCESS_KEY=",
|
||||
"AWS_REGION=",
|
||||
|
@ -335,7 +335,7 @@ export const templates: TemplateData[] = [
|
||||
{
|
||||
id: 'doublezero',
|
||||
name: 'Double Zero',
|
||||
version: 'v0.0',
|
||||
version: 'v0.2.1',
|
||||
description: '00 is a self hostable SES dashboard for sending and monitoring emails with AWS',
|
||||
logo: 'doublezero.svg',
|
||||
links: {
|
||||
|
Loading…
Reference in New Issue
Block a user