transition to container_ over podman_
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
|
||||
## Setup matrix Project
|
||||
|
||||
- [x] Copy and rename this folder to active/podman_matrix
|
||||
- [x] Copy and rename this folder to active/container_matrix
|
||||
- [x] Find and replace matrix with the name of the service.
|
||||
- [x] Create the rootless user to run the podman containers
|
||||
- [x] Write the compose.yaml spec for your service
|
||||
@@ -57,8 +57,8 @@ On your local machine:
|
||||
podman run \
|
||||
--security-opt label=disable \
|
||||
--rm \
|
||||
-v $(pwd)/active/podman_matrix/compose:/compose \
|
||||
-v $(pwd)/active/podman_matrix/quadlets:/quadlets \
|
||||
-v $(pwd)/active/container_matrix/compose:/compose \
|
||||
-v $(pwd)/active/container_matrix/quadlets:/quadlets \
|
||||
quay.io/k9withabone/podlet \
|
||||
-f /quadlets \
|
||||
-i \
|
||||
@@ -66,10 +66,10 @@ quay.io/k9withabone/podlet \
|
||||
compose /compose/compose.yaml
|
||||
|
||||
# Copy the files to the server
|
||||
scp -r active/podman_matrix/quadlets/. matrix:~/.config/containers/systemd/
|
||||
scp -r active/container_matrix/quadlets/. matrix:~/.config/containers/systemd/
|
||||
|
||||
# Copy the compose files to the server
|
||||
scp -r active/podman_matrix/compose/. matrix:~/.config//
|
||||
scp -r active/container_matrix/compose/. matrix:~/.config//
|
||||
```
|
||||
|
||||
```bash
|
||||
@@ -96,8 +96,8 @@ ghcr.io/matrix-construct/tuwunel:latest \
|
||||
|
||||
### Expose matrix
|
||||
|
||||
1. If you need a domain, follow the [DDNS instructions](/active/podman_ddns/ddns.md#install-a-new-ddns-service)
|
||||
2. For a web service, follow the [Caddy instructions](/active/podman_caddy/caddy.md#adding-a-new-caddy-record)
|
||||
1. If you need a domain, follow the [DDNS instructions](/active/container_ddns/ddns.md#install-a-new-ddns-service)
|
||||
2. For a web service, follow the [Caddy instructions](/active/container_caddy/caddy.md#adding-a-new-caddy-record)
|
||||
3. Finally, follow your OS's guide for opening ports via its firewall service.
|
||||
|
||||
#### firewalld
|
||||
|
||||
Reference in New Issue
Block a user