The commit mainly revamps the code to support internationalization in various pages like pricing, docs, blog, etc. It modifies the code to generate metadata asynchronously, accommodating internationalized page titles and subtitles. Also, the commit restructures CMS Client scripts, particularly for ContentLayer and Wordpress. For Wordpress, it updates API fetch routes and handles embedded children data. Furthermore, unnecessary logging statements are cleaned up, and minor updates are done for better UI and code efficiency.
30 lines
808 B
YAML
30 lines
808 B
YAML
services:
|
|
db:
|
|
# We use a mariadb image which supports both amd64 & arm64 architecture
|
|
image: mariadb:10.6.4-focal
|
|
# If you really want to use MySQL, uncomment the following line
|
|
#image: mysql:8.0.27
|
|
command: '--default-authentication-plugin=mysql_native_password'
|
|
volumes:
|
|
- db_data:/var/lib/mysql
|
|
restart: always
|
|
environment:
|
|
- MYSQL_ROOT_PASSWORD=somewordpress
|
|
- MYSQL_DATABASE=wordpress
|
|
- MYSQL_USER=wordpress
|
|
- MYSQL_PASSWORD=wordpress
|
|
expose:
|
|
- 3306
|
|
- 33060
|
|
wordpress:
|
|
image: wordpress:latest
|
|
ports:
|
|
- 8080:80
|
|
restart: always
|
|
environment:
|
|
- WORDPRESS_DB_HOST=db
|
|
- WORDPRESS_DB_USER=wordpress
|
|
- WORDPRESS_DB_PASSWORD=wordpress
|
|
- WORDPRESS_DB_NAME=wordpress
|
|
volumes:
|
|
db_data: |