init
Build and Push Container / build-and-push (push) Successful in 23s

This commit is contained in:
2026-05-27 21:52:36 -04:00
commit 43bae61c0a
9 changed files with 1354 additions and 0 deletions
+45
View File
@@ -0,0 +1,45 @@
# Developer Homepage
A static portfolio site packaged for deployment with Podman quadlets.
## Build & Run with Podman
### Build the image
```bash
podman build -t homepage:latest .
```
### Run the container
```bash
podman run --rm -p 8080:8080 -v ./src:/usr/share/nginx/html:z homepage:latest
```
Visit `http://localhost:8080` in your browser.
## Deploy with Quadlet
1. Copy the container definition to systemd:
```bash
mkdir -p ~/.config/containers/systemd
cp homepage.container ~/.config/containers/systemd/
```
2. Reload systemd and start the service:
```bash
systemctl --user daemon-reload
systemctl --user start homepage.container
```
3. Enable auto-start on boot:
```bash
systemctl --user enable homepage.container
```
## Development
Source files are in the `src/` directory. Edit `index.html`, `style.css`, and `script.js` directly. Rebuild the image after making changes.