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
docker-compose run pwa /bin/sh -c 'yarn install && yarn upgrade'
# Update the Symfony skeleton
cd api
composer sync-recipes --force
# Hint the user to change APP_SECRET
sed -i.bak 's/^APP_SECRET=.*$/APP_SECRET=!ChangeMe!/' .env
# Compatibility with our Docker and Kubernetes setup
sed -i.bak 's;^DATABASE_URL="postgresql://db_user:[email protected]:5432/db_name?serverVersion=13\&charset=utf8"$;DATABASE_URL="postgresql://api-platform:!ChangeMe!@database:5432/api?serverVersion=13&charset=utf8";' .env
sed -i.bak 's;^MERCURE_PUBLISH_URL=http://mercure/.well-known/mercure$;MERCURE_PUBLISH_URL=http://caddy/.well-known/mercure;' .env
rm .env.bak
echo 'Run `docker-compose up --build --force-recreate` now and check that everything is fine!'