transition to container_ over podman_
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
|
||||
## Setup certbot Project
|
||||
|
||||
- [ ] Copy and rename this folder to active/podman_certbot
|
||||
- [ ] Copy and rename this folder to active/container_certbot
|
||||
- [ ] Find and replace certbot with the name of the service.
|
||||
- [ ] Create the rootless user to run the podman containers
|
||||
- [ ] Write the compose.yaml spec for your service
|
||||
@@ -65,8 +65,8 @@ Run the following to convert a compose.yaml into the various `.container` files
|
||||
podman run \
|
||||
--security-opt label=disable \
|
||||
--rm \
|
||||
-v $(pwd)/active/podman_certbot/:/compose \
|
||||
-v $(pwd)/active/podman_certbot/quadlets:/quadlets \
|
||||
-v $(pwd)/active/container_certbot/:/compose \
|
||||
-v $(pwd)/active/container_certbot/quadlets:/quadlets \
|
||||
quay.io/k9withabone/podlet \
|
||||
-f /quadlets \
|
||||
-i \
|
||||
@@ -75,7 +75,7 @@ compose /compose/compose.yaml
|
||||
|
||||
# Copy the files to the server
|
||||
export PODMAN_SERVER=
|
||||
scp -r active/podman_certbot/quadlets/. $PODMAN_SERVER:/home/certbot/.config/containers/systemd/
|
||||
scp -r active/container_certbot/quadlets/. $PODMAN_SERVER:/home/certbot/.config/containers/systemd/
|
||||
ssh $PODMAN_SERVER chown -R certbot:certbot /home/certbot/.config/containers/systemd/
|
||||
```
|
||||
|
||||
@@ -107,8 +107,8 @@ systemctl --user enable --now podman-auto-update.timer
|
||||
|
||||
### Expose certbot
|
||||
|
||||
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