Github Repo
docker ps -a
docker rm -f CONTAINER
docker volume prune -a
docker image prune -a
docker network prune
git clone https://github.com/fullstack-68/pf-deploy.git
cd pf-deploy
.env
.env.example
./_entrypoint/init.sh
chmod +x ./\_entrypoint/init.sh
docker compose up -d --force-recreate
docker compose logs
ssh USERNAME@10.10.x.x
pf-deploy
FRONTEND_PORT
docker ps | less -S
url
If you have not deleted the folder.
docker compose exec -it backend sh
cd logs
rm *.*
docker compose down
If you already delete the folder.
docker run -it --rm -v ./logs:/home/ubuntu ubuntu /bin/bash
cd /home/ubuntu/logs
building
testing
deploying
pf-frontend
git clone https://github.com/fullstack-68/pf-frontend.git
remove-item .git, .github -Force
git init
git remote add origin [REPO_ADDR]
git remote set-url origin [REPO_ADDR]
git push --set-upstream origin [master/main]
# Repository Secret WEBHOOK_SECRET= DISCORD_WEBHOOK= DOCKERHUB_USERNAME= DOCKERHUB_TOKEN= # Repository Variable PROJECT_GROUP=gxx IMAGE_NAME=DOCKERHUB_ACCOUNT/preflight-frontend
cpe_sever
Send POST request
POST
{ "data": { "project_group": PROJECT_GROUP, "discord_webhook": DISCORD_WEBHOOK", "webhook_secret": WEBHOOK_SECRET } }
Webhook
redpeloy
Now go and make awesome apps!