Vincent Faliès - Artisan Codeur

EnvDev 2.4

php web project database Development composer apache nginx js typescript envdev nodejs docker
Reading time: 1 minute, 0 seconds

A new version of EnvDev project is now available in 2.4 version.

Changelog :

[2.4] - 2019-08-24

Changed

  • Change default version of PHP in .env.dist file from 7.2 FPM to 7.3 FPM
  • Change License date
  • Update README
  • Update maildev configuration to use msmtp in replacement of ssmtp

Ad

...

Continue reading...

Restart service in docker-compose

system linux docker container root docker-compose
Reading time: 1 minute, 0 seconds

When you use a docker-compose,you can want restart a service without restart all services.

Type the following command :

docker-compose up --no-deps containername

Continue reading...

Root inside a docker container

system linux docker container root
Reading time: 1 minute, 0 seconds

When you use a docker container, it could be interresting to be with root user.

It can be necessary to install some temporary tools for instance.

To simply you connect to the container with root user (id = 0), type the following command :

docker exec -u 0 -it mycontainer /bin/sh

Continue reading...

Fix broken package (Debian/Ubuntu)

system linux debian package ubuntu
Reading time: 1 minute, 0 seconds

Sometimes when you install manually some packages, they are broken and the command

sudo apt --fix-broken install

does not works !

In this case, 2 steps to correct:

  1. Soft correction
sudo apt-get update --fix-missing
sudo dpkg --configure -a
sudo apt-get install -f

If the problem of a...

Continue reading...