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