Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abn/pantalaimon-container
Unofficial container for Pantalaimon Matrix Reverse Proxy
https://github.com/abn/pantalaimon-container
Last synced: 7 days ago
JSON representation
Unofficial container for Pantalaimon Matrix Reverse Proxy
- Host: GitHub
- URL: https://github.com/abn/pantalaimon-container
- Owner: abn
- License: apache-2.0
- Created: 2021-07-01T00:26:06.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-07-01T00:40:55.000Z (over 3 years ago)
- Last Synced: 2024-11-18T07:50:02.694Z (about 1 month ago)
- Language: Dockerfile
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pantalaimon Container
[![Docker Repository on Quay](https://quay.io/repository/abn/pantalaimon/status "Docker Repository on Quay")](https://quay.io/repository/abn/pantalaimon)This is an unofficial container for the [Pantalaimon Matrix Reverse Proxy](https://github.com/matrix-org/pantalaimon).
## Configuration
The container defaults to using provided [matrix.conf](matrix.conf) as configuration.For using a custom configuration, you can mount the file similar to what is shown here.
```sh
podman run --rm -it \
-v `pwd`/matrix.conf:/opt/pantalaimon/matrix.conf:z \
-p 8008:8008 \
quay.io/abn/pantalaimon:main
```For configuration specifics, you can refer to the [Pantalaimon README.md](https://github.com/matrix-org/pantalaimon#readme).
## Data Persistence
The default data path is configured to use `/opt/pantalaimon/data`. You can mount a host directory similar to what is shown here.```sh
# this is required for rootless containers
podman unshare chown 1000:1000 /var/lib/pantalaimon
podman run --rm -it \
--user 1000:1000 \
-v /var/lib/pantalaimon:/opt/pantalaimon/data:z \
-p 8008:8008 \
quay.io/abn/pantalaimon:main
```> **Note:** The container users non-root default user. This means that mounted `data` directory requires correct permissions set. Additionally, [ensure user namespaces are dealt with as required for rootless containers](https://www.redhat.com/sysadmin/user-namespaces-selinux-rootless-containers).
## Building From Source
You can build the container with custom `VERSION` and `UID` (default: `1000`).```sh
podman build \
--build-arg VERSION=0.10.0 \
--build-arg UID=1000 \
-t local/pantalaimon
```