GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - erikbgithub/simpleserver: A template for combining systemd and podman

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

9 Commits
9 Commits

Folders and files

NameName
Last commit message
Last commit date
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
pod-simpleserver.yaml
pod-simpleserver.yaml
 
 
simpleserver.service
simpleserver.service
 
 
start-simpleserver.sh
start-simpleserver.sh
 
 
zzzstatus.conf
zzzstatus.conf
 
 

Repository files navigation

Podman+Systemd example: Simpleserver

This project shows in a simple example how to enable systemd control for your podman containers. It is intended as a template for more complex setups.

The idea for this repository came to me from reading this excellent blog post from my colleague Valentin Rothberg.

The idea about healthchecks came from this (slightly outdated) blog post by my colleague Brent Baude.

Howto

Ensure that you run this with a user that can control systemctl, then just build the example container with:

$ make

Install it with:

$ make install

And then you can control it with:

$ systemctl enable simpleserver
$ systemctl start simpleserver
$ systemctl stop simpleserver

Testing

You can see the start page at localhost:8080 and the metrics at localhost:8080/server-status.

About

A template for combining systemd and podman

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.