Standard containers with NGinx, Apache, PHP v8.1, Laravel v8.83.15, Vue 2, MongoDb, MySQL, SQL Server and PostgreSQL.
App | Name | Port |
---|---|---|
SQL Server | sqlserver | 1434 |
Ubuntu/Nginx | nginx | 8081 |
MongoDb | mongo | 27019 |
MongoExpress | mexpress | 8091 |
MariaDB 10.2 (~MySql 5.7) | mydb | 3309 |
PhpMyAdmin | myadmin | 8089 |
PgDb | pgdb | 5439 |
PgAdmin | pgadm | 5059 |
ssh-keygen -t ed25519 -C "your_email@example.com"
gpg --list-secret-key --keyid-form long
gpg --full-generate-key
sec rsa4096/IDIDIDIDIDIDIDID 2022-01-01 [SC] [expires: 2023-01-01]
gpg --armor --export IDIDIDIDIDIDIDID
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBG ... ... =pdkp -----END PGP PUBLIC KEY BLOCK-----
- git config --global user.signingkey IDIDIDIDIDIDIDID
- git config --global commit.gpgsign true
- git config --global tag.gpgsign true
Insert the following line in .profile or .bash, according to your OS
export GPG_TTY=$(tty)
- ls -al ~/.ssh
- cat ~/.ssh/id_[some id].pub
- https://github.com/settings/keys
- https://docs.github.com/en/authentication/managing-commit-signature-verification/telling-git-about-your-signing-key
docker compose up -d --build
docker ps
docker exec -it lara bash composer install
npm install npm run dev
cp .env.example .env php artisan key:generate
php artisan migrate php artisan db:seed
chmod -R 777 storage
After creating files with artisan, run the following command to avoid permission issues
chown -R www-data:1000 .
https://www.positronx.io/create-laravel-vue-js-crud-single-page-application/
https://techvblogs.com/blog/build-crud-app-with-laravel-and-reactjs
https://blog.codeexpertslearning.com.br/dockerizando-uma-aplica%C3%A7%C3%A3o-react-js-f6a22e93bc5d https://stackoverflow.com/questions/987142/make-gitignore-ignore-everything-except-a-few-files
mongosh --username "root" --password password
Setting up SSH keys
https://docs.docker.com/engine/install/ubuntu/
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi
wsl --set-default-version 2
Choose your Linux distro from Windows Store
https://github.com/codeedu/wsl2-docker-quickstart https://www.youtube.com/watch?v=rdp7xwziQtU https://github.com/argentinaluiz/my-vscode-settings https://github.com/argentinaluiz/ambiente-dev-produtivo