Coder Social home page Coder Social logo

Comments (10)

samherrmann avatar samherrmann commented on August 27, 2024

My bad, I forgot that the PS_FOLDER_ADMIN and PS_FOLDER_INSTALL variables are already available.

from docker.

samherrmann avatar samherrmann commented on August 27, 2024

In hindsight though, if the container is used in production, might it be better to let the automatic installation delete the /install folder at the end instead of leaving it around under a different name?

from docker.

Quetzacoalt91 avatar Quetzacoalt91 commented on August 27, 2024

Hello @samherrmann,

With this image, I would like to cover dev and prod environments. the only compromise I found for the folder install was to allow you to rename it.
As you saw, there are two environment variables available for the install and admin folders. If you change their value, you will be able to access directly the back-office. Then, you can improve the security of your PrestaShop by deleting the folder manually.

docker exec -ti <your container name> rm -rf <your install folder>

from docker.

samherrmann avatar samherrmann commented on August 27, 2024

Thanks for the explanation @Quetzacoalt91

from docker.

vaibhav5592 avatar vaibhav5592 commented on August 27, 2024

please tell me container name

from docker.

vaibhav5592 avatar vaibhav5592 commented on August 27, 2024

docker exec -ti rm -rf

from docker.

Quetzacoalt91 avatar Quetzacoalt91 commented on August 27, 2024

It depends on what you chose. :)

Execute docker ps to know how it is called.

from docker.

edevil avatar edevil commented on August 27, 2024

@Quetzacoalt91 what would be the problem with having a flag to delete the "install" folder instead of renaming it?

from docker.

nickosouras avatar nickosouras commented on August 27, 2024

so what would one put if they wanted to rename the admin folder?

from docker.

KysiekD avatar KysiekD commented on August 27, 2024

I have already installed prestashop and docker and I have the same problem as in first post. Can smbd give example how to change admin folder and delete install folder using PS_FOLDER_ADMIN and PS_FOLDER_INSTALL?

from docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.