Let’s check our docker compose file first.
| |
In order to get Let’s Encrypt SSL certificates, create a shell script file (init_letsencrypt.sh) like so:
Let’s check our docker compose file first.
| |
In order to get Let’s Encrypt SSL certificates, create a shell script file (init_letsencrypt.sh) like so:
Let’s the docker compose file first.
| |
Here comes a relavant php.conf.ini file:
Here I assume you already have your own cert file: filename.ovpn. 🙂
Modify its file extension to a conf file like so:
| |
Move the file inside /etc/openvpn directory like so:
| |
OpenVPN client service name would be openvpn@filename.
Well, you might already know what to do to launch the service.
| |
-i or --interactive: Keep STDIN open even if not attached-t or --tty: Allocate a pseudo-TTY--rm: Automatically remove the container when it exits--name: Assign a name to the container-d or --detach: Run container in background and print container IDAliases: docker container run, docker run
| |
-a or --all: Show all containers (default shows just running)Aliases: docker container ls, docker container list, docker container ps, docker ps
This post shows how to setup a standard LAMP stack on CentOS 7.
For the latest version of phpMyAdmin:
For MariaDB:
For Apache:
For PHP: