mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-23 20:18:00 +01:00
Updates for readme (cgroups v2, SELinux) (#63)
* Updates readme (cgroups v2) * Clarify SELinux instructions Co-authored-by: Parasprite <foalspeedahead@gmail.com>
This commit is contained in:
parent
5aad10b351
commit
5822635408
1 changed files with 3 additions and 1 deletions
|
@ -27,13 +27,15 @@ If you run into an Elasticsearch bootstrap error, you may need to increase your
|
||||||
sudo sysctl -w vm.max_map_count=262144
|
sudo sysctl -w vm.max_map_count=262144
|
||||||
```
|
```
|
||||||
|
|
||||||
If you have SELinux enforcing, you should run the following in the application directory on the host before proceeding:
|
If you have SELinux enforcing (Fedora, Arch, others; manifests as a `Could not find a Mix.Project` error), you should run the following in the application directory on the host before proceeding:
|
||||||
```
|
```
|
||||||
chcon -Rt svirt_sandbox_file_t .
|
chcon -Rt svirt_sandbox_file_t .
|
||||||
```
|
```
|
||||||
|
|
||||||
This allows Docker or Podman to bind mount the application directory into the containers.
|
This allows Docker or Podman to bind mount the application directory into the containers.
|
||||||
|
|
||||||
|
If you are using a platform which uses cgroups v2 by default (Fedora 31+), use `podman` and `podman-compose`.
|
||||||
|
|
||||||
## Deployment
|
## Deployment
|
||||||
You need a key installed on the server you target, and the git remote installed in your ssh configuration.
|
You need a key installed on the server you target, and the git remote installed in your ssh configuration.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue