transition to container_ over podman_
This commit is contained in:
@@ -34,8 +34,8 @@ podman run \
|
||||
--security-opt label=disable \
|
||||
--userns keep-id \
|
||||
--rm \
|
||||
-v $(pwd)/active/podman_minecraft:/compose \
|
||||
-v $(pwd)/active/podman_minecraft/quadlets:/quadlets \
|
||||
-v $(pwd)/active/container_minecraft:/compose \
|
||||
-v $(pwd)/active/container_minecraft/quadlets:/quadlets \
|
||||
quay.io/k9withabone/podlet \
|
||||
-f /quadlets \
|
||||
-i \
|
||||
@@ -43,7 +43,7 @@ quay.io/k9withabone/podlet \
|
||||
compose /compose/compose.yaml
|
||||
|
||||
# Copy the files to the server
|
||||
scp -r active/podman_minecraft/quadlets/. minecraft:~/.config/containers/systemd/
|
||||
scp -r active/container_minecraft/quadlets/. minecraft:~/.config/containers/systemd/
|
||||
```
|
||||
|
||||
### Install Quadlets
|
||||
@@ -78,10 +78,10 @@ ssh minecraft systemctl --user restart minecraft
|
||||
|
||||
## Expose minecraft
|
||||
|
||||
1. Create your minecraft ddns record first [following these docs](/active/podman_ddns/ddns.md#)
|
||||
1. Create your minecraft ddns record first [following these docs](/active/container_ddns/ddns.md#)
|
||||
2. Create a SRV record in your DNS provider like the following:
|
||||
|
||||
active/podman_minecraft/secrets/reeseapps_records.json:
|
||||
active/container_minecraft/secrets/reeseapps_records.json:
|
||||
|
||||
```json
|
||||
{
|
||||
@@ -105,7 +105,7 @@ ssh minecraft systemctl --user restart minecraft
|
||||
```
|
||||
|
||||
```bash
|
||||
aws route53 change-resource-record-sets --hosted-zone-id $(cat active/aws_route53/secrets/reeseapps-zoneid) --change-batch file://active/podman_minecraft/secrets/reeseapps_records.json
|
||||
aws route53 change-resource-record-sets --hosted-zone-id $(cat active/aws_route53/secrets/reeseapps-zoneid) --change-batch file://active/container_minecraft/secrets/reeseapps_records.json
|
||||
```
|
||||
|
||||
3. Test your record with `nslookup`
|
||||
|
||||
Reference in New Issue
Block a user