Modifications of README about custom config
This commit is contained in:
parent
9964203ee0
commit
d8141eec13
1 changed files with 8 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue