WordPress styles not loading. Used docker-compose to start nginx, mariadb & wordpress. Here is the configuration I’m using.
services:
mysql:
image: mariadb:latest
container_name: wordpress-sql
volumes:
- maria-db-wp:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: wordpress
MYSQL_USER: wpadmin
MYSQL_PASSWORD: wpadminpass
restart: unless-stopped
networks:
- wordpress-vpc
wordpress:
image: wordpress:beta-php8.3-fpm-alpine
container_name: wordpress-main
volumes:
- wp-vol-1:/var/www/html
depends_on:
- mysql
environment:
WORDPRESS_DB_HOST: mysql
MYSQL_ROOT_PASSWORD: root
WORDPRESS_DB_NAME: wordpress
WORDPRESS_DB_USER: wpadmin
WORDPRESS_DB_PASSWORD: wpadminpass
WORDPRESS_TABLE_PREFIX: wp_
restart: unless-stopped
networks:
- wordpress-vpc
nginx:
image: nginx:stable-alpine-perl
container_name: nginx-wp
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
- wp-vol-1:/var/www/html
ports:
- "80:80"
networks:
- wordpress-vpc
restart: unless-stopped
depends_on:
- wordpress
networks:
wordpress-vpc:
driver: bridge
volumes:
maria-db-wp:
wp-vol-1:
I tried searching for these css stylesheets inside of my installation directory both in my local installation (which work correctly) & my docker volume directory, both have the same CSS sheets inside /wp-admin/css so doesnt seem like an installation issue?
This entire thing is fresh & the volumes defined in the dockerfile were created just before this docker compose.
network tab screenshots
network tab
network tab css response
console says
JQMIGRATE: Migrate is installed, version 3.4.1


