SPB Git

Repository Public

staging-env.sh 2.6 KB 54 lines shellscript

1# =============================================================================2#                  SP BOUCHER | INFRASTRUCTURE & AUTOMATION3#             ARTIFICIAL INTELLIGENCE • FINANCE • ENGINEERING4# =============================================================================5#6# Project          : MacLustr Social Engine & Remote Navigator7# File             : scripts/staging-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# Preproduction on the same Mac: separate database, ports, keys, worker token and browser profiles. Fixtures ON.41export PATH="/opt/homebrew/bin:/opt/homebrew/opt/postgresql@17/bin:/usr/bin:/bin:/usr/sbin:/sbin"42export MLS_ENV=production43export MLS_DB_NAME=maclustr_social_staging44export DATABASE_URL="postgres:///${MLS_DB_NAME}?host=/tmp"45export MLS_DATA_DIR="$HOME/maclustr-social-staging-data"46export MLS_CONFIG_DIR="$HOME/.config/maclustr-social-staging"47export MLS_BACKUP_DIR="$HOME/backups/maclustr-social-staging"48export MLS_SOCIAL_ORIGIN="https://social-staging.51-161-112-61.sslip.io"49export MLS_NAVIGATOR_ORIGIN="https://navigator-staging.51-161-112-61.sslip.io"50export HOST=0.0.0.0 PORT=8890 MLS_GATEWAY_HOST=0.0.0.0 MLS_GATEWAY_PORT=8891 MLS_GATEWAY_INTERNAL_PORT=889251export MLS_GATEWAY_INTERNAL_URL=http://127.0.0.1:8892 MLS_CONTROL_INTERNAL_URL=http://127.0.0.1:889052export MLS_ALLOWED_PEERS=127.0.0.1,10.67.0.1 MLS_TRUST_PROXY=10.67.0.1,127.0.0.153export MLS_FIXTURE_PORT=8893 MLS_FIXTURE_ORIGIN=http://127.0.0.1:889354
Files main
Menu

Theme