# MountyCrawl — configuration de déploiement (NAS) # Sur le serveur, depuis la racine du dépôt cloné : # ./deploy.sh # # Ou en une ligne (après git push depuis ton PC) : # source .env && cd "$NAS_PROJECT_DIR" && git pull "$GIT_REMOTE" "$GIT_BRANCH" && cd "$NAS_COMPOSE_DIR" && docker compose build --no-cache && docker compose up -d NAS_PROJECT_DIR=/home/perco/projects/mountycrawl NAS_COMPOSE_DIR=/opt/container/mountycrawl GIT_REMOTE=origin GIT_BRANCH=master # true = écrase les modifs locales sur le NAS avant git pull (si pull bloqué) DEPLOY_DISCARD_LOCAL=false SITE_URL=https://mountycrawl.nas.percolouco.com