SPB Git

Repository Public

prod-env.sh 2.4 KB 51 lines shellscript

1# =============================================================================2#                  SP BOUCHER | INFRASTRUCTURE & AUTOMATION3#             ARTIFICIAL INTELLIGENCE • FINANCE • ENGINEERING4# =============================================================================5#6# Project          : MacLustr Social Engine & Remote Navigator7# File             : scripts/prod-env.sh8# Module           : scripts9# Repository       : https://git.spboucher.ai/maclustr-social10# Project Website  : https://social.spboucher.ai11# Created          : 2026-12-0112# Last Modified    : 2026-12-0113#14# Author           : Simon-Pierre Boucher15# Position         : Professor of Finance16# Institution      : Université du Québec en Outaouais (UQO)17# Organization     : SP Boucher18# Website          : https://spboucher.ai19# Git              : https://git.spboucher.ai20#21# Preferred Contact: admin@spboucher.ai22# Technical Contact: dev@spboucher.ai23# Security/Admin   : admin@spboucher.ai24#25# Copyright (c) 202626# Simon-Pierre Boucher27# All rights reserved where applicable. This file is governed by the28# applicable project license, copyright notices and relevant law.29# Existing third-party rights and notices remain unaffected.30#31# License          : None specified (no license file in this repository)32#33# Do not embed credentials, private keys, access tokens,34# certificates or confidential personal information.35#36# =============================================================================37# END OF SP BOUCHER SOURCE HEADER38# =============================================================================3940# Sourced by the operator scripts on the node. No secret lives here: only paths to 0600 files.41export PATH="/opt/homebrew/bin:/opt/homebrew/opt/postgresql@17/bin:/usr/bin:/bin:/usr/sbin:/sbin"42export MLS_ENV="${MLS_ENV:-production}"43export MLS_DB_NAME="${MLS_DB_NAME:-maclustr_social}"44# unix socket + peer authentication: only this macOS account can open the database45export DATABASE_URL="${DATABASE_URL:-postgres:///${MLS_DB_NAME}?host=/tmp}"46export MLS_DATA_DIR="${MLS_DATA_DIR:-$HOME/maclustr-social-data}"47export MLS_CONFIG_DIR="${MLS_CONFIG_DIR:-$HOME/.config/maclustr-social}"48export MLS_SOCIAL_ORIGIN="${MLS_SOCIAL_ORIGIN:-https://social.spboucher.ai}"49export MLS_NAVIGATOR_ORIGIN="${MLS_NAVIGATOR_ORIGIN:-https://navigator.spboucher.ai}"50export MLS_BACKUP_DIR="${MLS_BACKUP_DIR:-$HOME/backups/maclustr-social}"51
Files main
Menu

Theme