- Updated localization strings in various classes to use the constant `GROQ_AI_PRODUCT_TEXT_DOMAIN` instead of hardcoded text domain. - Introduced an image context limit setting in the settings manager and adjusted related methods to accommodate this new feature. - Modified prompt builder to handle image context limit when building product context blocks and retrieving image payloads. - Enhanced error handling and response structures to include new fields related to image context. - Added support for title suggestions in the structured response from the AI.
50 lines
1.1 KiB
YAML
50 lines
1.1 KiB
YAML
services:
|
|
db:
|
|
image: mariadb:10.11
|
|
command: --default-authentication-plugin=mysql_native_password
|
|
restart: unless-stopped
|
|
environment:
|
|
MYSQL_DATABASE: wordpress
|
|
MYSQL_USER: wordpress
|
|
MYSQL_PASSWORD: wordpress
|
|
MYSQL_ROOT_PASSWORD: supersecret
|
|
volumes:
|
|
- db_data:/var/lib/mysql
|
|
ports:
|
|
- "3307:3306"
|
|
|
|
wordpress:
|
|
build:
|
|
context: .
|
|
dockerfile: docker/wordpress/Dockerfile
|
|
depends_on:
|
|
- db
|
|
ports:
|
|
- "8082:80"
|
|
environment:
|
|
WORDPRESS_DB_HOST: db:3306
|
|
WORDPRESS_DB_USER: wordpress
|
|
WORDPRESS_DB_PASSWORD: wordpress
|
|
WORDPRESS_DB_NAME: wordpress
|
|
WORDPRESS_DEBUG: 0
|
|
WP_ENVIRONMENT_TYPE: local
|
|
volumes:
|
|
- wordpress_data:/var/www/html
|
|
- ./:/var/www/html/wp-content/plugins/siti-ai-product-content-generator
|
|
restart: unless-stopped
|
|
|
|
phpmyadmin:
|
|
image: phpmyadmin/phpmyadmin:5
|
|
depends_on:
|
|
- db
|
|
ports:
|
|
- "8085:80"
|
|
environment:
|
|
PMA_HOST: db
|
|
PMA_USER: wordpress
|
|
PMA_PASSWORD: wordpress
|
|
|
|
volumes:
|
|
db_data:
|
|
wordpress_data:
|