From 278a48938e4b31fd85527afb09fc51d234b06cf0 Mon Sep 17 00:00:00 2001 From: Alex Demidoff Date: Sat, 11 Jan 2025 15:05:05 +0300 Subject: [PATCH] PMM-7 fix podman tests --- .../install-pmm-server/baremetal/podman/index.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/documentation/docs/install-pmm/install-pmm-server/baremetal/podman/index.md b/documentation/docs/install-pmm/install-pmm-server/baremetal/podman/index.md index 3c99803289e..b82ff71687b 100644 --- a/documentation/docs/install-pmm/install-pmm-server/baremetal/podman/index.md +++ b/documentation/docs/install-pmm/install-pmm-server/baremetal/podman/index.md @@ -115,8 +115,8 @@ On the other hand, the manual method offers a simpler setup with complete contro 4. Start services: ```sh - systemctl --user enable --now pmm-server.service - systemctl --user enable --now watchtower.service + systemctl --user enable --now pmm-server + systemctl --user enable --now watchtower ``` 5. Go to `https://localhost:8443` to access the PMM user interface in a web browser. If you are accessing the host remotely, replace `localhost` with the IP or server name of the host. @@ -160,7 +160,7 @@ On the other hand, the manual method offers a simpler setup with complete contro 3. Start services: ```sh - systemctl --user enable --now pmm-server.service + systemctl --user enable --now pmm-server ``` 4. Go to `https://localhost:8443` to access the PMM user interface in a web browser. If you are accessing the host remotely, replace `localhost` with the IP or server name of the host. @@ -200,7 +200,7 @@ To run Podman as a non-privileged user: Type=simple # set environment for this unit - Environment=PMM_PUBLIC_PORT=8443 + Environment=PMM_PUBLIC_PORT=443 Environment=PMM_VOLUME_NAME=%N Environment=PMM_TAG=2.44.0 Environment=PMM_IMAGE=docker.io/percona/pmm-server @@ -209,7 +209,7 @@ To run Podman as a non-privileged user: # optional env file that could override previous env settings for this unit EnvironmentFile=-%h/.config/pmm-server/env - ExecStart=/usr/bin/podman run --rm --replace=true --name=%N -p ${PMM_PUBLIC_PORT}:443/tcp --ulimit=host --volume=${PMM_VOLUME_NAME}:/srv --env-file=${PMM_ENV_FILE} --health-cmd=none --health-interval=disable ${PMM_IMAGE}:${PMM_TAG} + ExecStart=/usr/bin/podman run --rm --replace=true --name=%N -p ${PMM_PUBLIC_PORT}:8443/tcp --ulimit=host --volume=${PMM_VOLUME_NAME}:/srv --env-file=${PMM_ENV_FILE} --health-cmd=none --health-interval=disable ${PMM_IMAGE}:${PMM_TAG} ExecStop=/usr/bin/podman stop -t 10 %N Restart=on-failure RestartSec=20 @@ -247,7 +247,7 @@ To run Podman as a non-privileged user: SystemD service uses some environment variables that could be customized if needed: ```text - Environment=PMM_PUBLIC_PORT=8443 + Environment=PMM_PUBLIC_PORT=443 Environment=PMM_VOLUME_NAME=%N Environment=PMM_TAG=2.44.0 Environment=PMM_IMAGE=docker.io/percona/pmm-server @@ -260,7 +260,7 @@ To run Podman as a non-privileged user: cat << "EOF" > ~/.config/pmm-server/env PMM_TAG=2.44.0 PMM_IMAGE=docker.io/percona/pmm-server - PMM_PUBLIC_PORT=8443 + PMM_PUBLIC_PORT=443 EOF ``` @@ -270,7 +270,7 @@ To run Podman as a non-privileged user: 3. Enable and start: ```sh - systemctl --user enable --now pmm-server.service + systemctl --user enable --now pmm-server ``` 4. Activate the podman socket using the [Podman socket activation instructions](https://github.com/containers/podman/blob/main/docs/tutorials/socket_activation.md).