Skip to content

mapswipe/mapswipe-deploy

Repository files navigation

Setup

Cloning the Repository

Most submodules use SSH URLs. To avoid setting up SSH keys, run this command to use HTTPS instead:

git config --global url."https://github.com/".insteadOf "[email protected]:"

Clone and pull all submodules

git clone [email protected]:mapswipe/mapswipe-deploy.git
cd mapswipe-deploy
git submodule update --init --recursive

Environment Variables

Make sure these environment files are in place:

  • .env (based on .env.sample)
  • env/backend.env
  • env/community-dashboard.env
  • env/manager-dashboard.env
  • secrets/pgbackrest_gc_service_account_key.json
cp .env.sample .env
touch env/backend.env
touch env/community-dashboard.env
touch env/manager-dashboard.env
touch secrets/pgbackrest_gc_service_account_key.json

Apply changes

The task tool is used to set up a pre-alias.

https://taskfile.dev/

task --list-all

# Deploy all
task deploy

# Deploy web apps
task web-builds

# Deploy backend resources
task backend-deploy

# Deploy caddy
task caddy-deploy

pgBackRest

Create "main" stanza

docker compose exec -u postgres postgres pgbackrest --stanza=main stanza-create

View backup info

docker compose exec -u postgres postgres pgbackrest --stanza=main info

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •