@@ -24,7 +24,7 @@ Plus, manage docker containers with Portainer.
2424<p align =" left " > arm64/aarch64, x86-64 </p >
2525
2626#### Supported Linux Package Manage Systems:
27- <p align =" left " > apk, dnf, yum, apt/apt-get, zypper </p >
27+ <p align =" left " > apk, dnf, yum, apt/apt-get, zypper, pacman </p >
2828
2929#### Supported Linux Operation Systems:
3030<p align =" left " > <a href =" https://alpinelinux.org/ " target =" _blank " rel =" noreferrer " > <img src =" https://avatars.githubusercontent.com/u/7600810?s=200&v=4 " alt =" alpine linux " height =" 40 " width =" 40 " /> </a >  ;  ;  ;
@@ -34,7 +34,8 @@ Plus, manage docker containers with Portainer.
3434<a href =" https://ubuntu.com/ " target =" _blank " rel =" noreferrer " > <img src =" https://avatars.githubusercontent.com/u/4604537?s=200&v=4 " alt =" ubuntu " height =" 40 " width =" 40 " /> </a >  ;  ;  ;
3535<a href =" https://www.raspberrypi.com/ " target =" _blank " rel =" noreferrer " > <img src =" https://avatars.githubusercontent.com/u/1294177?s=200&v=4 " alt =" ubuntu " height =" 40 " width =" 40 " /> </a >  ;  ;  ;
3636<a href =" https://www.redhat.com/en/technologies/linux-platforms/enterprise-linux " target =" _blank " rel =" noreferrer " > <img src =" https://avatars.githubusercontent.com/u/33972111?s=200&v=4 " alt =" redhat on s390x (IBM Z) " height =" 40 " width =" 40 " /> </a >  ;  ;  ;
37- <a href =" https://www.suse.com/products/server/ " target =" _blank " rel =" noreferrer " > <img src =" https://avatars.githubusercontent.com/u/623819?s=200&v=4 " alt =" opensuse on s390x (IBM Z) " height =" 40 " width =" 40 " /> </a > </p >
37+ <a href =" https://www.suse.com/products/server/ " target =" _blank " rel =" noreferrer " > <img src =" https://avatars.githubusercontent.com/u/623819?s=200&v=4 " alt =" opensuse on s390x (IBM Z) " height =" 40 " width =" 40 " /> </a >  ;  ;  ;
38+ <a href =" https://archlinux.org/ " target =" _blank " rel =" noreferrer " > <img src =" https://gitlab.archlinux.org/uploads/-/system/group/avatar/23/iconfinder_archlinux_386451.png?width=48 " alt =" arch linux " height =" 40 " width =" 40 " /> </a > </p >
3839
3940##### Note: Fedora 37, 39 and alpine linux x86-64 compatible, could not try sles IBM Z s390x, rhel IBM Z s390x and raspberrypi.
4041
@@ -128,17 +129,17 @@ Copy the example environment into `.env`
128129cp env.example .env
129130```
130131
131- Edit the ` .env ` file to change values of ``` LOCAL_TIMEZONE ``` , ``` DOMAIN_NAME ``` , ``` DIRECTORY_PATH ``` , ``` LETSENCRYPT_EMAIL ``` , ``` DB_USER ``` , ``` DB_PASSWORD ``` , ``` DB_NAME ``` , ``` MYSQL_ROOT_PASSWORD ``` , ``` DATABASE_IMAGE_NAME ``` , ``` DATABASE_CONT_NAME ``` , ``` DATABASE_PACKAGE_MANAGER ``` , ``` DATABASE_AUTHENTICATION_PLUGIN ``` , ``` DATABASE_ADMIN_COMMANDLINE ``` , ``` PMA_CONTROLUSER ``` , ``` PMA_CONTROLPASS ``` , ``` PMA_HTPASSWD_USERNAME ``` and ``` PMA_HTPASSWD_PASSWORD ``` .
132+ Edit the ` .env ` file to change values of ``` LOCAL_TIMEZONE ``` , ``` DOMAIN_NAME ``` , ``` DIRECTORY_PATH ``` , ``` LETSENCRYPT_EMAIL ``` , ``` DB_USER ``` , ``` DB_PASSWORD ``` , ``` DB_NAME ``` , ``` MYSQL_ROOT_PASSWORD ``` , ``` DATABASE_IMAGE_NAME ``` , ``` DATABASE_CONT_NAME ``` , ``` DATABASE_PACKAGE_MANAGER ``` , ``` DATABASE_ADMIN_COMMANDLINE ``` , ``` PMA_CONTROLUSER ``` , ``` PMA_CONTROLPASS ``` , ``` PMA_HTPASSWD_USERNAME ``` and ``` PMA_HTPASSWD_PASSWORD ``` .
132133
133134LOCAL_TIMEZONE=[ to see local timezones] ( https://docs.diladele.com/docker/timezones.html )
134135
135136DIRECTORY_PATH=``` pwd ``` at command line\
136137DATABASE_IMAGE_NAME=``` mariadb ``` or ``` mysql ``` \
137138DATABASE_CONT_NAME=``` mariadb ``` , ``` mysql ``` or ``` custom name ``` \
138139DATABASE_PACKAGE_MANAGER=``` apt-get update && apt-get install -y gettext-base ``` for mariadb, ``` microdnf install -y gettext ``` for mysql\
139- DATABASE_AUTHENTICATION_PLUGIN=``` mysql_native_password ``` for mariadb, ``` caching_sha2_password ``` for mysql\
140140DATABASE_ADMIN_COMMANDLINE=``` mariadb-admin ``` for mariadb, ``` mysqladmin ``` for mysql\
141- VARNISH_VERSION=``` latest ``` for centos version 9+ and fedora, ``` stable ``` for the others
141+ SSL_SNIPPET=``` echo 'Generated Self-signed SSL Certificate for localhost' ``` for localhost\
142+ SSL_SNIPPET=``` certbot certonly --webroot --webroot-path /tmp/acme-challenge --rsa-key-size 4096 --non-interactive --agree-tos --no-eff-email --force-renewal --email ${LETSENCRYPT_EMAIL} -d ${DOMAIN_NAME} -d www.${DOMAIN_NAME} ``` for remotehost
142143
143144and
144145
@@ -150,7 +151,7 @@ change example.com to your domain name in ```./phpmyadmin/apache2/sites-availabl
150151```
151152cp ./database/phpmyadmin/sql/create_tables.sql.template.example ./database/phpmyadmin/sql/create_tables.sql.template
152153```
153- change pma_controluser, db_authentication_plugin and db_authentication_password in ``` ./database/phpmyadmin/sql/create_tables.sql.template ``` file.
154+ change pma_controluser and db_authentication_password in ``` ./database/phpmyadmin/sql/create_tables.sql.template ``` file.
154155
155156### Installation
156157
@@ -160,6 +161,8 @@ Firstly: will create external volume
160161docker volume create --driver local --opt type=none --opt device=${PWD}/certbot --opt o=bind certbot-etc
161162```
162163
164+ for localhost ssl: Generate Self-signed SSL Certificate with guide [ mkcert repository] ( https://github.com/FiloSottile/mkcert ) .
165+
163166```
164167docker compose up -d
165168```
@@ -254,6 +257,14 @@ to remove portainer and the other images:
254257docker rmi $(docker image ls -q)
255258```
256259
260+ ### Logs containers
261+
262+ To fetch the logs of a container.
263+
264+ ```
265+ docker container logs container_name_or_id
266+ ```
267+
257268### Project from existing source
258269
259270Copy all files into a new directory:
@@ -288,7 +299,7 @@ You should make changes custom host configurations ```./php-fpm/php-fpm.d/z-www.
288299docker container restart laminas
289300```
290301
291- add and/or remove laminas site folders and files with any ftp client program in ``` ./laminas/webapp ``` folder.
302+ add and/or remove laminas site folders and files with any ftp client program in ``` ./laminas ``` folder.
292303<br />You can also visit ` https://example.com ` to access website after starting the containers.
293304
294305#### Proxy
@@ -323,9 +334,9 @@ Redis host = redis
323334
324335Redis host port = 6379
325336
326- [ https://docs.laminas.dev/laminas-cache/v3 /storage/adapter/#redis-adapter ] ( https://docs.laminas.dev/laminas-cache/v3 /storage/adapter/#redis-adapter )
337+ [ https://docs.laminas.dev/laminas-cache/v4 /storage/adapter/#redis-adapter ] ( https://docs.laminas.dev/laminas-cache/v4 /storage/adapter/#redis-adapter )
327338
328- #### Cache
339+ #### Cache
329340
330341[ https://docs.laminas.dev/laminas-cache/ ] ( https://docs.laminas.dev/laminas-cache/ )
331342
0 commit comments