You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
scp ./.env.local ubuntu@amd1:/home/ubuntu/traefik-proxy/apps/nextjs-prisma-boilerplate
scp ./prisma/dev.db ubuntu@amd1:/home/ubuntu/traefik-proxy/apps/nextjs-prisma-boilerplate/prisma
# to prisma folder itself non-recursively too# only these two, not schema or folder recursively
chmod 777 prisma prisma/dev.db
export DATABASE_URL="file:./dev.db"echo$DATABASE_URL
docker-compose -f docker-compose.prod.yml build
# ---export HOSTNAME="localhost3000.live"echo$HOSTNAME
docker-compose -f docker-compose.prod.yml up -d
docker-compose -f docker-compose.prod.yml down
env_file inserts into container, not in docker-compose.yml, those are from host (HOSTNAME)