Solution:
docker exec -it "name_of_container" bash
define('WP_HOME', 'http://your_domain.com');
define('WP_SITEURL', 'http://your_domain.com');