Compare commits

..

No commits in common. "c0f1e956dd5918e10677706e4f369d898fe1b7f6" and "3c7ee0f82f1d94157a291943e319c085357e325a" have entirely different histories.

2 changed files with 5 additions and 2 deletions

View File

@ -26,6 +26,8 @@ services:
- "${PROJECT_DATA}/${PROJECT_NAME}-wordpress/wordpress/uploads:/var/www/html/wp-content/uploads"
- "./nginx-conf:/etc/nginx/conf.d"
- "./php-conf:/usr/local/etc/php"
#- ./wordpress-data/installer.php:/var/www/html/installer.php
#- ./wordpress-data/earthman_20231010_f058a22d5085e51c3204_20231010103457_archive.zip:/var/www/html/earthman_20231010_f058a22d5085e51c3204_20231010103457_archive.zip:ro
networks:
- "be"
labels:
@ -34,6 +36,7 @@ services:
# traefik
- "traefik.enable=true"
- "traefik.docker.network=${TRAEFIK_NETWORK}"
#- "traefik.tcp.routers.${PROJECT_NAME}_sftp.rule=HostSNI(`${PROJECT_URL}`)" # tls
- "traefik.http.services.${PROJECT_NAME}_wordpress.loadbalancer.server.port=80"
- "traefik.http.routers.${PROJECT_NAME}_wordpress.rule=Host(`${PROJECT_URL}`)"
- "traefik.http.routers.${PROJECT_NAME}_wordpress.entrypoints=websecure"
@ -73,7 +76,7 @@ services:
command: '--default-authentication-plugin=mysql_native_password'
env_file: ".env"
volumes:
- "${PROJECT_DATA}/${PROJECT_NAME}-wordpress/db:/var/lib/mysql"
- "${PROJECT_DATA}/${PROJECT_NAME}-wordpress/db/:/var/lib/mysql"
networks:
- "db"
labels:

2
init
View File

@ -4,7 +4,7 @@ source ./.env
source ./create_config
mkdir -p ${PROJECT_DATA}/${PROJECT_NAME}-wordpress/wordpress/plugins
mkdir -p ${PROJECT_DATA}/${PROJECT_NAME}-wordpress/wordpress/themes
mkdir -p ${PROJECT_DATA}/${PROJECT_NAME}-wordpress/wordpress//themes
mkdir -p ${PROJECT_DATA}/${PROJECT_NAME}-wordpress/wordpress/uploads
mkdir -p ${PROJECT_DATA}/${PROJECT_NAME}-wordpress/db