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 {
|
export function generate(schema: Schema): Template {
|
||||||
const mainDomain = generateRandomDomain(schema);
|
const mainDomain = generateRandomDomain(schema);
|
||||||
|
|
||||||
const apiKey = generateBase64(48);
|
const apiKey = Array.from({length: 64}, () =>
|
||||||
const postgresPassword = generateBase64(24);
|
Math.floor(Math.random() * 16).toString(16)).join('');
|
||||||
const jwtSecret = generateBase64(24);
|
const postgresPassword = Array.from({length: 32}, () =>
|
||||||
const encryptionKey = generateBase64(12);
|
Math.floor(Math.random() * 16).toString(16)).join('');
|
||||||
const redisPassword = generateBase64(24);
|
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 postgresUser = "activepieces";
|
||||||
const postgresDb = "activepieces";
|
const postgresDb = "activepieces";
|
||||||
|
const redisPassword = generateBase64(24);
|
||||||
|
|
||||||
const domains: DomainSchema[] = [
|
const domains: DomainSchema[] = [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,6 +1,13 @@
|
|||||||
version: "3.8"
|
version: "3.8"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
base: &base
|
||||||
|
image: chatwoot/chatwoot:v3.14.1
|
||||||
|
networks:
|
||||||
|
- dokploy-network
|
||||||
|
volumes:
|
||||||
|
- storage_data:/app/storage
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:12
|
image: postgres:12
|
||||||
networks:
|
networks:
|
||||||
@@ -33,9 +40,7 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
setup:
|
setup:
|
||||||
image: chatwoot/chatwoot:v3.14.1
|
<<: *base
|
||||||
networks:
|
|
||||||
- dokploy-network
|
|
||||||
environment:
|
environment:
|
||||||
- NODE_ENV=production
|
- NODE_ENV=production
|
||||||
- RAILS_ENV=production
|
- RAILS_ENV=production
|
||||||
|
|||||||
Reference in New Issue
Block a user