# 1 - get the latest prod data
ssh weteling.com dokku postgres:export weteling | > volumes/db-data/live.pgdump
# 2 - start the app
docker compose up
# have docker compose up running
docker compose up -d
docker compose exec web bash
-->
bin/rails s
docker ps
docker stats
docker attach <img id>
dokku storage:mount weteling /home/dokku/weteling/static/assets:/app/public/assets
dokku storage:mount weteling /home/dokku/weteling/static/packs:/app/public/packs
location ~ ^/assets|packs/ {
root /home/dokku/weteling/static;
gzip_static on;
expires max;
add_header Cache-Control public;
}