Skip to main content

Adminer

Adminer (formerly phpMinAdmin) is a full-featured database management tool written in PHP. You can easily deploy adminer using their official docker image:


Copy past the previous content and save it under a file called adminer.yml.
Then execute the following command to startup a adminer server:

nanocl state apply -s adminer.yml

If you are using Nanocl on your local computer, edit your /etc/hosts to add this line:

127.0.0.1 adminer.internal

You should be able to see the following page:

Optionally you can choose the domain name using this command:

nanocl state apply -s adminer.yml -- --domain my-domain.com

For production, we recommand you to deploy it inside a vpn follow our vpn guide.
And rerun the previos command with the network of your vpn, if you didn't took something fancy it should be:

nanocl state apply -s adminer.yml -- --network private.nsp

This way adminer will only be accessible over the vpn!