PrestaShop / PrestaShop/docker

how to change PS_SHOP_DOMAIN

Open
#361 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Dockerfile
Stars
281
Forks
190
PR merge metrics
No merged PRs in 30d

Description

I use prestashop image, PS_ The value of DOMAIN is the domain name to start the container, and accessing everything is normal.

I changed the domain name to IP: PORT for access. I entered the preview container and executed "PHP bin/console preview: config set PS-SHOP_DOMAIN -- value=ip: port". I found that the database value had been modified, but ip: port could not access it? auto go to domain in the browser.

root@01122ebef278:/var/www/html#  php bin/console prestashop:config get PS_SHOP_DOMAIN
                                                                                                                        
 [OK] PS_SHOP_DOMAIN=47.76.130.106:9111  

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The report concerns the PrestaShop Docker image and the PS_SHOP_DOMAIN setting; start by reproducing the shown php bin/console prestashop:config get command after setting an IP:port. Done means explaining why browser access still redirects to the original domain and identifying a verified configuration path.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, php
Domain
backend, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.