Production servers are pulling updates from Github and deploying them to the server.
-
Make directories
mkdir -p /opt/offpost/logs -
Pull git repo
cd /opt/offpost git clone git@github.com:hnygard/offpost.git app -
Initial start of service
cd /opt/offpost/app/ docker compose -f docker-compose.prod.yaml up -d -
Setup cronjob for pulling in new changes
# See deploy-cronjob.sh for the cronjob command crontab -e