Skip to content

bradswhite/compose-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

compose-astro-go-nginx-demo

Command to prepare env vars

ln .env frontend/.env
ln .env backend/.env
touch db/password.txt

Commands to run (locally)

# make postgres db
docker run postgres...

# run backend
go run backend/main.go

# run frontend
cd frontend && pnpm i && pnpm start

Commands to run (on deployment)

docker compose up --build -d