Compare commits
No commits in common. "5e2b9fbd25a483fa1e87d7ee49084c25f4f3a1f7" and "36c4306906717483013cc9c4bebdc4131de3ed02" have entirely different histories.
5e2b9fbd25
...
36c4306906
@ -33,7 +33,6 @@ A containerized Wordpress, MySQL stack using [this official upstream project Doc
|
|||||||
---
|
---
|
||||||
#### docker-compose.yml
|
#### docker-compose.yml
|
||||||
##### To Do
|
##### To Do
|
||||||
- `certbot certonly -d equilibrateit.com -d equilibrateit.ca`
|
|
||||||
- mysql 8.1
|
- mysql 8.1
|
||||||
- Investigate php-fpm arch?
|
- Investigate php-fpm arch?
|
||||||
|
|
||||||
|
|||||||
@ -5,5 +5,3 @@
|
|||||||
|
|
||||||
roles:
|
roles:
|
||||||
- podman-host
|
- podman-host
|
||||||
- repo-epel
|
|
||||||
- certbot
|
|
||||||
|
|||||||
@ -1,8 +1,15 @@
|
|||||||
version: '3.6'
|
version: '3.6'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
db:
|
||||||
|
image: mysql:5.7
|
||||||
|
volumes:
|
||||||
|
- ~/wordpress/database:/var/lib/mysql
|
||||||
|
restart: always
|
||||||
|
env_file: ".env"
|
||||||
|
|
||||||
wordpress:
|
wordpress:
|
||||||
build: ./wordpress/apache
|
image: wordpress:latest
|
||||||
volumes:
|
volumes:
|
||||||
- ~/wordpress/data:/var/www/html
|
- ~/wordpress/data:/var/www/html
|
||||||
depends_on:
|
depends_on:
|
||||||
@ -12,13 +19,6 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
env_file: ".env"
|
env_file: ".env"
|
||||||
|
|
||||||
db:
|
|
||||||
image: mysql:5.7
|
|
||||||
volumes:
|
|
||||||
- ~/wordpress/database:/var/lib/mysql
|
|
||||||
restart: always
|
|
||||||
env_file: ".env"
|
|
||||||
|
|
||||||
wordpress-cli:
|
wordpress-cli:
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
|
|||||||
@ -1,21 +0,0 @@
|
|||||||
FROM wordpress:6.6.1-php8.2-apache
|
|
||||||
|
|
||||||
COPY fullchain.pem /etc/ssl/certs/
|
|
||||||
COPY privkey.pem /etc/ssl/private/
|
|
||||||
|
|
||||||
RUN set -eux; \
|
|
||||||
a2enmod ssl; \
|
|
||||||
{ \
|
|
||||||
echo '<VirtualHost _default_:443>'; \
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# these IP ranges are reserved for "private" use and should thus *usually* be safe inside Docker
|
|
||||||
echo 'ServerName equilibrateit.com:443'; \
|
|
||||||
echo 'SSLEngine on'; \
|
|
||||||
echo 'SSLCertificateKeyFile /etc/ssl/private/privkey.pem'; \
|
|
||||||
echo 'SSLCertificateFile /etc/ssl/certs/fullchain.pem'; \
|
|
||||||
echo '</VirtualHost>'; \
|
|
||||||
} > /etc/apache2/sites-available/equilibrateit.com-ssl.conf; \
|
|
||||||
ln -s /etc/apache2/sites-available/equilibrateit.com-ssl.conf /etc/apache2/sites-enabled/equilibrateit.com-ssl.conf; \
|
|
||||||
Loading…
Reference in New Issue
Block a user