Hello,
i experience a weird access problem with my wordpress container.
I use a wordpress container (over stack) like this:
version: '3.1'
services:
wordpress:
image: wordpress
restart: always
ports:
- 8080:80
environment:
WORDPRESS_DB_HOST: db
WORDPRESS_DB_USER: Myuser
WORDPRESS_DB_PASSWORD: Mypassword
WORDPRESS_DB_NAME: Mydb
volumes:
- /var/lib/config/wordpress:/var/www/html
links:
- db:db
db:
image: yobasystems/alpine-mariadb:latest
restart: always
environment:
MYSQL_DATABASE: Mydb
MYSQL_USER: Myuser
MYSQL_PASSWORD: Mypassword
MYSQL_RANDOM_ROOT_PASSWORD: '1'
volumes:
- /var/lib/config/wordpress/db:/var/lib/mysql
volumes:
wordpress:
db:
Display More
And i got the problem that if i deploy the container and try to use it and set it up and download a plugin everything works.
But i want to increase the upload size for pictures and there a multiple ways to do it and i choose the way over the php.ini file.
But the moment i edit or even try to open the wordpress folder and change something and i restart my docker container again, i cannot download any plugins because it requires FTP access. No more connection to the internet.
I red that i can happen because wordpress has wrong permissions etc. but i can confirm i put the correct file permissions as it was before when creating the container.
Why this still happens?? Someone any idea what he root of the problem is?