git clone https://github.com/alexandregv/paheko-docker
cd paheko-docker
By default, no configuration is needed. You may open config.local.php
and add any variable you need, following paheko docs.
To use a custom domain (like paheko.asso.fr
), refer to Custom Domain.
docker-compose up -d
docker-compose logs -f
(Ctrl
+c
to quit logs)
paheko will be available at http://localhost:8080
. You can change the port in docker-compose.yml
.
To use a custom domain (like paheko.asso.fr
), open config.local.php
and set WWW_URL
to your full URL, ending with a /
(e.g https://paheko.asso.fr/
).
You may need to restart the container if the permissions of the file changed.
Please note that you likely want to run this behind a reverse-proxy, like Nginx or Traefik. See the next section.
Running behind a reverse-proxy allows you to use TLS (HTTPS) and if you are hosting multiple websites you probably already have one.
You just have to point your proxy at this paheko instance (http://localhost:8080
), with a "Proxy Pass" or similar.
Some examples are provided for Nginx and Traefik, in the proxy-examples/ folder.
Please note that when using your custom domain, even with a reverse-proxy, you MUST follow the instructions given in Custom Domain.