Rootless Deployment
===================

This document contains instructions how to run the contiamo platform using rootless containers.
It works by creating a rootless podman pod and running all components as containers in there.

# Install podman

## Linux

Just install `podman`. It's generally useful to have `fuse-overlayfs` installed and might speedup the startup by some percent.

## MacOS and Windows

There is `podman-machine` similar to `docker-machine` available here:

[https://github.com/boot2podman/machine](https://github.com/boot2podman/machine)  

It's a pre-release, but should work quite well (it doesn't do any magic stuff besides downloading an ISO kicking up a VM)

# Start

Execute this from the root of this repository:

```bash
./podman/start.sh all
# inspect the result:
podman ps -a
# if you see any dead containers its a good chance that its the idp which just dies when it can't connect to postgres otherwise you can inspect logs and anything.
./podman/restart.sh idp
```

Now you should be able to login as normal under [http://localhost:9898](http://localhost:9898)

# Stop

```bash
./podman/stop.sh all
```
