Compare commits
No commits in common. "c0f1e956dd5918e10677706e4f369d898fe1b7f6" and "3c7ee0f82f1d94157a291943e319c085357e325a" have entirely different histories.
c0f1e956dd
...
3c7ee0f82f
@ -26,6 +26,8 @@ services:
|
|||||||
- "${PROJECT_DATA}/${PROJECT_NAME}-wordpress/wordpress/uploads:/var/www/html/wp-content/uploads"
|
- "${PROJECT_DATA}/${PROJECT_NAME}-wordpress/wordpress/uploads:/var/www/html/wp-content/uploads"
|
||||||
- "./nginx-conf:/etc/nginx/conf.d"
|
- "./nginx-conf:/etc/nginx/conf.d"
|
||||||
- "./php-conf:/usr/local/etc/php"
|
- "./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:
|
networks:
|
||||||
- "be"
|
- "be"
|
||||||
labels:
|
labels:
|
||||||
@ -34,6 +36,7 @@ services:
|
|||||||
# traefik
|
# traefik
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.docker.network=${TRAEFIK_NETWORK}"
|
- "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.services.${PROJECT_NAME}_wordpress.loadbalancer.server.port=80"
|
||||||
- "traefik.http.routers.${PROJECT_NAME}_wordpress.rule=Host(`${PROJECT_URL}`)"
|
- "traefik.http.routers.${PROJECT_NAME}_wordpress.rule=Host(`${PROJECT_URL}`)"
|
||||||
- "traefik.http.routers.${PROJECT_NAME}_wordpress.entrypoints=websecure"
|
- "traefik.http.routers.${PROJECT_NAME}_wordpress.entrypoints=websecure"
|
||||||
@ -73,7 +76,7 @@ services:
|
|||||||
command: '--default-authentication-plugin=mysql_native_password'
|
command: '--default-authentication-plugin=mysql_native_password'
|
||||||
env_file: ".env"
|
env_file: ".env"
|
||||||
volumes:
|
volumes:
|
||||||
- "${PROJECT_DATA}/${PROJECT_NAME}-wordpress/db:/var/lib/mysql"
|
- "${PROJECT_DATA}/${PROJECT_NAME}-wordpress/db/:/var/lib/mysql"
|
||||||
networks:
|
networks:
|
||||||
- "db"
|
- "db"
|
||||||
labels:
|
labels:
|
||||||
|
2
init
2
init
@ -4,7 +4,7 @@ source ./.env
|
|||||||
source ./create_config
|
source ./create_config
|
||||||
|
|
||||||
mkdir -p ${PROJECT_DATA}/${PROJECT_NAME}-wordpress/wordpress/plugins
|
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/wordpress/uploads
|
||||||
mkdir -p ${PROJECT_DATA}/${PROJECT_NAME}-wordpress/db
|
mkdir -p ${PROJECT_DATA}/${PROJECT_NAME}-wordpress/db
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user