The .aldryn file¶

Your local Divio set-up can be configured via the ~/.aldryn file.

It contains a JSON dictionary, for example:

  1. {
  2. "update_check_timestamp": 1501185567,
  3. "skip_doctor_checks": [
  4. "docker-machine"
  5. ]
  6. }

The skip_doctor_checks are particularly useful, and can be used to disable certain automatedchecks run by the Divio app and the divio doctor command (for example, if youare working offline, or with network restrictions).

The checks that divio doctor runs are classes in check_system.py. Add them tothe list in skip_doctor_checks to disable them:

login

LoginCheck

Can we log in to the Control Panel?
git

GitCheck

Is Git is installed locally?
docker-client

DockerClientCheck

Is the docker command available?
docker-machine

DockerMachineCheck

Is the docker-machine command available?
docker-compose

DockerComposeCheck

Is the docker-compose command available?
docker-server

DockerEngineCheck

Is the Docker daemon running, and can we connect to it?
docker-server-ping

DockerEnginePingCheck

Does the Docker container have connectivity to the outside world? (Checks by running docker
run —rm busybox sh -c "ping -c 1 -w 5 8.8.8.8"
.)
docker-server-dns

DockerEngineDNSCheck

Does a Docker container have connectivity to the outside world? (Checks by running docker run
—rm busybox sh -c "timeout -t 5 nslookup control.divio.com"
.)

原文: http://docs.divio.com/en/latest/reference/divio-dot-aldryn-file.html