Skip to content

Latest commit

 

History

History
36 lines (32 loc) · 922 Bytes

README.md

File metadata and controls

36 lines (32 loc) · 922 Bytes

PocketDock

Pre-requisites:

  • Fly.io account
  • flyctl CLI
  • Bash (WSL or Git Bash will work if on Windows)
  • jq
  • Postgres database

Frontend deployment instructions:

cd frontend
# Copy example.env to .env and fill it out
fly app create # Note the name that was provided/generated
# Copy fly.toml.example and fill out app name
cat .env | fly secrets import
# Use --ha=false since we don't want UDP to be load balanced
# If asked, use a shared IP and not a dedicated IP
fly deploy --ha=false

Proxy deployment instructions:

cd proxy
# Copy example.env to .env and fill it out
./deploy.sh

Backend deployment instructions:

cd backend
fly app create # Note the name that was provided/generated
# Copy fly.toml.example and fill out app name
# Copy example.env to .env and fill it out
./update.sh