mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
fix: Testing ENV Variables
This commit is contained in:
@@ -9,14 +9,18 @@ import {
|
||||
export function generate(schema: Schema): Template {
|
||||
const mainDomain = generateRandomDomain(schema);
|
||||
|
||||
const apiKey = generateBase64(48);
|
||||
const postgresPassword = generateBase64(24);
|
||||
const jwtSecret = generateBase64(24);
|
||||
const encryptionKey = generateBase64(12);
|
||||
const redisPassword = generateBase64(24);
|
||||
const apiKey = Array.from({length: 64}, () =>
|
||||
Math.floor(Math.random() * 16).toString(16)).join('');
|
||||
const postgresPassword = Array.from({length: 32}, () =>
|
||||
Math.floor(Math.random() * 16).toString(16)).join('');
|
||||
const jwtSecret = Array.from({length: 32}, () =>
|
||||
Math.floor(Math.random() * 16).toString(16)).join('');
|
||||
const encryptionKey = Array.from({length: 16}, () =>
|
||||
Math.floor(Math.random() * 16).toString(16)).join('');
|
||||
|
||||
const postgresUser = "activepieces";
|
||||
const postgresDb = "activepieces";
|
||||
const redisPassword = generateBase64(24);
|
||||
|
||||
const domains: DomainSchema[] = [
|
||||
{
|
||||
|
||||
@@ -1,6 +1,13 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
base: &base
|
||||
image: chatwoot/chatwoot:v3.14.1
|
||||
networks:
|
||||
- dokploy-network
|
||||
volumes:
|
||||
- storage_data:/app/storage
|
||||
|
||||
postgres:
|
||||
image: postgres:12
|
||||
networks:
|
||||
@@ -33,9 +40,7 @@ services:
|
||||
restart: always
|
||||
|
||||
setup:
|
||||
image: chatwoot/chatwoot:v3.14.1
|
||||
networks:
|
||||
- dokploy-network
|
||||
<<: *base
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
- RAILS_ENV=production
|
||||
|
||||
Reference in New Issue
Block a user