-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
Hi all,
I've read a bunch of tickets about how it's possible to mount the wp-config.php file, but I've encountered a failure trying to do so.
The issue is, I'm mounting only the wp-config.php file. I get the following error:
Complete! WordPress has been successfully copied to /var/www/html
sed: cannot rename ./sedHyWkku: Device or resource busy
exited with code 4
This is my docker-compose.yml
version: '3'
services:
mysql:
container_name: sns-db
image: mariadb
volumes:
- db_data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: wp
wordpress:
container_name: sns-wp
image: "wordpress:latest"
depends_on:
- mysql
ports:
- "80:80"
- "443:443"
environment:
WORDPRESS_DB_PASSWORD: wp
volumes:
- ./wp-config.php:/var/www/html/wp-config.php
volumes:
db_data:
Metadata
Metadata
Assignees
Labels
No labels