The container for gh-deployer
/!\ This is designed to deploy phpMyAdmin instances, improve it if you want.
You can also specify:
- a memory limit -e MEMORY_LIMIT=128M
- a SHA -e GIT_SHA=8669c00fff7c08ac58917e3fcc7f87e28f2052c5
- a network --network mynetwork(see:docker network ls)
- a config -e PMA_CONFIG="$(cat config.inc.php | base64 -w0)"(if not provided the one built into the container will be used)
(RANDOM_STRING is just for phpMyAdmin config blowfish_secret)
You will need to login with to the container registry (docker login ghcr.io). You can provide a PAT as a password, scopes: read:registry.
docker run --rm --name myDeployedContainer1 \
    -p 8085:80 \
    -e GIT_URL=https://github.com/iifawzi/phpmyadmin.git \
    -e GIT_BRANCH=designer-rtl-support \
    -e RANDOM_STRING=d4a5c8571aff3df8965e7086fd500a88b64c41411d9 \
        ghcr.io/sudo-bot/gh-deployer-container/phpmyadminNB: you need to keep the user root to make nginx bind port work
docker run --rm --name myStaticContainer1 \
    --user "0:$(id -g)" \
    -p 8085:80 \
    -v $PWD:/home/www/phpMyAdmin \
    -e SKIP_DEPLOY=yes \
    -e MEMORY_LIMIT=128M \
        ghcr.io/sudo-bot/gh-deployer-container/phpmyadminIf you use -it you will be able to kill the container with a CTRL-C
/!\ This will auto destroy the containers contents (--rm)
Run: docker stop myDeployedContainer1