Docker
Instalace na Debianu:
apt update && apt install ca-certificates curl gnupg lsb-release
mkdir -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
apt update && apt install docker-ce docker-ce-cli containerd.io docker-compose-plugin
Jednoduchý deploy pgadmina na port 8080:
docker run -d \
--name pgadmin4 \
--restart always \
-p 8080:80 \
-e PGADMIN_DEFAULT_EMAIL=admin@domena.cz \
-e PGADMIN_DEFAULT_PASSWORD=TajneHeslo \
dpage/pgadmin4
Vypsání logů:
docker logs pgadmin4 -f