YouTube video link:
make buildto build the containersmake startto start the containersmake stopto stop the containersmake restartto restart the containersmake prepareto install dependencies with composermake logsto see application logsmake sshto SSH into the application container- Once you have installed you Symfony application go to http://localhost:1000/api/docs
[program:app]
command=/root/binaries/app/app php-server --domain [your_domain_here]
autostart=true
autorestart=true
stderr_logfile=/root/binaries/app/logs/logfile.err.log
stdout_logfile=/root/binaries/app/logs/logfile.out.log
# Stop app
supervisorctl stop app
# Extract binary file from archive
gzip -d /root/download/build/app.gz
# Move binary to application folder
mv -f /root/download/build/app /root/binaries/app
# Update supervisor config
supervisorctl reread
supervisorctl update
# Start updated app
supervisorctl start app