systemprompt_models/paths/
constants.rs1pub mod dir_names {
9 pub const SYSTEMPROMPT: &str = ".systemprompt";
10 pub const PROFILES: &str = "profiles";
11 pub const DOCKER: &str = "docker";
12 pub const STORAGE: &str = "storage";
13 pub const SESSIONS: &str = "sessions";
14}
15
16pub mod file_names {
17 pub const PROFILE_CONFIG: &str = "profile.yaml";
18 pub const PROFILE_SECRETS: &str = "secrets.json";
19 pub const CREDENTIALS: &str = "credentials.json";
20 pub const TENANTS: &str = "tenants.json";
21 pub const SESSION: &str = "session.json";
22 pub const DOCKERFILE: &str = "Dockerfile";
23 pub const ENTRYPOINT: &str = "entrypoint.sh";
24 pub const DOCKERIGNORE: &str = "Dockerfile.dockerignore";
25 pub const COMPOSE: &str = "compose.yaml";
26}
27
28pub mod cloud_container {
29 pub const APP_ROOT: &str = "/app";
30 pub const BIN: &str = "/app/bin";
31 pub const SERVICES: &str = "/app/services";
32 pub const LOGS: &str = "/app/logs";
33 pub const STORAGE: &str = "/app/storage";
34 pub const WEB: &str = "/app/web";
35 pub const WEB_DIST: &str = "/app/web/dist";
36 pub const WEB_CONFIG: &str = "/app/services/web";
37 pub const PROFILES: &str = "/app/services/profiles";
38 pub const TEMPLATES: &str = "/app/services/web/templates";
39 pub const ASSETS: &str = "/app/services/web/assets";
40}
41
42pub mod storage {
43 pub const FILES: &str = "files";
44 pub const IMAGES: &str = "files/images";
45 pub const GENERATED: &str = "files/images/generated";
46 pub const LOGOS: &str = "files/images/logos";
47 pub const AUDIO: &str = "files/audio";
48 pub const VIDEO: &str = "files/video";
49 pub const DOCUMENTS: &str = "files/documents";
50 pub const UPLOADS: &str = "files/uploads";
51 pub const CSS: &str = "files/css";
52 pub const JS: &str = "files/js";
53}
54
55pub mod build {
56 pub const CARGO_TARGET: &str = "target";
57 pub const BINARY_NAME: &str = "systemprompt";
58}
59
60pub mod env_vars {
61 pub const CUSTOM_SECRETS: &str = "SYSTEMPROMPT_CUSTOM_SECRETS";
62}