Skip to content

PocketDock/PocketDockInstant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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