# /config/routes.yaml
BoShurikTelegramBotBundle:
resource: "@BoShurikTelegramBotBundle/Resources/config/routing.yml"
prefix: '_telegram/%telegram_route_secret%'- Find
nameandIDdocker ps - Find the volumes
docker inspect -f '{{ json .Mounts }}' <container_id> | python -m json.tool - Copy the dump
docker cp </path/to/dump/in/host> <container_name>:<path_to_volume> - Execute
psql
docker exec <container_name> psql -U <database_owner> -d <database_name> -f <path_to_dump>
NOTE: Usedocker exec -it ...to use the psql binary from the docker container.
or better...
cat backup.sql | docker exec -i 4e-website-bot_database_1 psql -U main
and using pg_restore
cat backup_dbdump | docker exec -i 4e-website-bot-database-1 pg_restore -U main -d main
https://hugo-soltys.com/blog/easily-implement-google-login-with-symfony-4
https://api.telegram.org/bot<YourBOTToken>/getUpdates
bin/console app:update:badgedata
- Add the badge "code" in
src/Service/MedalChecker.phpSee This commit