From d8141eec13896261fe88c351a1b4afc716fa1868 Mon Sep 17 00:00:00 2001 From: Olivier Navas Date: Sat, 28 Jan 2023 15:56:28 +0100 Subject: [PATCH] Modifications of README about custom config --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f5bf48a..62592a6 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,12 @@ docker image ls | grep paheko ## Adapt docker-compose.yml to fit your needs -* Example with traefik routing by fqdn, custom php.ini and custom paheko config: +For an example of custom paheko config see [git repository](https://git.libretic.fr/libretic/paheko_docker_image_builder). + +For an example of custom php.ini, [php docker image](https://hub.docker.com/_/php). You may have to adjust `post_max_size` and `upload_max_filesize` to fit your needs. + + +* Example with traefik routing by fqdn: This example assumes that my.paheko.fqdn is resolved to the address of a reverse proxy that serves https and forwards requests to traefik container on port named "web" (see: [traefik](https://github.com/traefik/traefik) and [traefik configuration](https://git.libretic.fr/libretic/ansible-role-docker_host)) @@ -80,6 +85,8 @@ services: image: libretic/paheko:1.2.4 restart: always volumes: + - ./config.local.php:/var/www/paheko/config.local.php + - ./php.ini:/usr/local/etc/php/php.ini - pahekodata:/var/www/paheko/data - /var/www/paheko/data/plugins ports: