Document production startup and remove publishing test album
This commit is contained in:
-12
@@ -1,12 +0,0 @@
|
|||||||
---
|
|
||||||
layout: post
|
|
||||||
title: "photo-ff06699cab02243643ede03c294f5ea4f5aa53bafc8466de87f8c726dccaeecc"
|
|
||||||
date: "2026-09-19T10:56:52.202244+00:00"
|
|
||||||
categories: art
|
|
||||||
---
|
|
||||||
|
|
||||||
<div id="photo-ff06699cab02243643ede03c294f5ea4f5aa53bafc8466de87f8c726dccaeecc"></div>
|
|
||||||
|
|
||||||
<p><img src="/img/arts/uploads/ff06699cab02243643ede03c294f5ea4f5aa53bafc8466de87f8c726dccaeecc/00.jpg" alt="Temporary publishing check; this entry will be removed after verification." loading="lazy"></p>
|
|
||||||
<p><img src="/img/arts/uploads/ff06699cab02243643ede03c294f5ea4f5aa53bafc8466de87f8c726dccaeecc/01.jpg" alt="Temporary publishing check; this entry will be removed after verification." loading="lazy"></p>
|
|
||||||
<span class="image-details">Temporary publishing check; this entry will be removed after verification.</span>
|
|
||||||
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 293 B |
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 292 B |
@@ -52,10 +52,10 @@ installs. Runtime upgrades are separate from this change.
|
|||||||
|
|
||||||
## Server setup
|
## Server setup
|
||||||
|
|
||||||
The live server is Ubuntu 24.04. nginx currently serves
|
The server is Ubuntu 24.04. Before this setup, nginx served
|
||||||
`/home/mahdi/theread.me/_site`. `/home/mahdi/update-server/update-server.js` exists,
|
`/home/mahdi/theread.me/_site`. `/home/mahdi/update-server/update-server.js` existed,
|
||||||
was not running, and uses a different port from nginx's old `/_update` route.
|
was not running, and used a different port from nginx's old `/_update` route.
|
||||||
Podman is not installed. The new workflow replaces that rebuild hook.
|
The new workflow replaces that rebuild hook.
|
||||||
|
|
||||||
1. Install Podman and a Compose provider (`sudo apt-get install podman podman-compose`).
|
1. Install Podman and a Compose provider (`sudo apt-get install podman podman-compose`).
|
||||||
2. Keep this service in its own checkout, e.g. `/home/mahdi/blog-photo-service`.
|
2. Keep this service in its own checkout, e.g. `/home/mahdi/blog-photo-service`.
|
||||||
@@ -78,6 +78,7 @@ cd /home/mahdi/blog-photo-service/photo-upload
|
|||||||
cp .env.example .env
|
cp .env.example .env
|
||||||
# Adjust absolute paths if needed.
|
# Adjust absolute paths if needed.
|
||||||
podman compose config
|
podman compose config
|
||||||
|
systemctl --user enable --now podman.socket
|
||||||
podman compose up -d --build
|
podman compose up -d --build
|
||||||
podman compose logs -f publisher
|
podman compose logs -f publisher
|
||||||
```
|
```
|
||||||
@@ -104,8 +105,9 @@ For reboot persistence, create `~/.config/systemd/user/blog-photos.service`:
|
|||||||
```ini
|
```ini
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Blog photo uploads
|
Description=Blog photo uploads
|
||||||
After=network-online.target
|
After=network-online.target podman.socket
|
||||||
Wants=network-online.target
|
Wants=network-online.target
|
||||||
|
Requires=podman.socket
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
|||||||
Reference in New Issue
Block a user