cleanup #2
@ -26,8 +26,6 @@ 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:
|
||||
@ -36,7 +34,6 @@ 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"
|
||||
@ -76,7 +73,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
2
init
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user