Skip to content

Commit

Permalink
PMM-7 fix podman tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ademidoff committed Jan 11, 2025
1 parent d43c0ea commit 278a489
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
```
Expand All @@ -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).
Expand Down

0 comments on commit 278a489

Please sign in to comment.