Compare commits
No commits in common. "396b4af76fb8a80257aea9bfe556b8b8ae7bd349" and "36c4306906717483013cc9c4bebdc4131de3ed02" have entirely different histories.
396b4af76f
...
36c4306906
@ -1,8 +1,15 @@
|
||||
version: '3.6'
|
||||
|
||||
services:
|
||||
db:
|
||||
image: mysql:5.7
|
||||
volumes:
|
||||
- ~/wordpress/database:/var/lib/mysql
|
||||
restart: always
|
||||
env_file: ".env"
|
||||
|
||||
wordpress:
|
||||
build: ./wordpress/apache
|
||||
image: wordpress:latest
|
||||
volumes:
|
||||
- ~/wordpress/data:/var/www/html
|
||||
depends_on:
|
||||
@ -12,13 +19,6 @@ services:
|
||||
restart: always
|
||||
env_file: ".env"
|
||||
|
||||
db:
|
||||
image: mysql:5.7
|
||||
volumes:
|
||||
- ~/wordpress/database:/var/lib/mysql
|
||||
restart: always
|
||||
env_file: ".env"
|
||||
|
||||
wordpress-cli:
|
||||
depends_on:
|
||||
- db
|
||||
|
||||
@ -1,18 +0,0 @@
|
||||
FROM wordpress:6.6.1-php8.2-apache
|
||||
|
||||
COPY /etc/letsencrypt/live/equilibrateit.com/privkey.pem /etc/ssl/certs/
|
||||
COPY /etc/letsencrypt/live/equilibrateit.com/fullchain.pem /etc/ssl/private/
|
||||
|
||||
RUN set -eux; \
|
||||
{ \
|
||||
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/certs/privkey.pem'; \
|
||||
echo 'SSLCertificateFile /etc/ssl/private/fullchain.pem'; \
|
||||
} > /etc/apache2/sites-available/equilibrateit.com-ssl.conf; \
|
||||
Loading…
Reference in New Issue
Block a user