Comments (10)
My bad, I forgot that the PS_FOLDER_ADMIN
and PS_FOLDER_INSTALL
variables are already available.
from docker.
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.
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.
Thanks for the explanation @Quetzacoalt91
from docker.
please tell me container name
from docker.
docker exec -ti rm -rf
from docker.
It depends on what you chose. :)
Execute docker ps
to know how it is called.
from docker.
@Quetzacoalt91 what would be the problem with having a flag to delete the "install" folder instead of renaming it?
from docker.
so what would one put if they wanted to rename the admin folder?
from docker.
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)
- How to change the default installation path [/var/www/html] ?
- Waiting for confirmation of MySQL service startup HOT 3
- docker: no matching manifest for linux/arm64/v8 in the manifest list entries. HOT 1
- Refresh docker images
- Using Docker Prestashop in Cloud
- DB reinstalled even if the value of $PS_ERASE_DB and $PS_INSTALL_DB is 0 HOT 1
- PrestaShop update debug regex not compatible with supplied defines_custom.inc.php
- Outdated description on docker hub HOT 5
- End of support for debian stretch - Failed to fetch stretch* 404 Not Found - Need to rebuild old images to use debian strech in archive repo
- I always encounter failures when downloading the language while trying to install Docker. How can I resolve this? Do I need to configure a proxy for Docker? HOT 1
- Prestashop 8.1 FPM with Nginx - 504 Gateway Timeout HOT 3
- Should Composer be included in some images ? HOT 2
- PrestaShop docker Permission denied after " Launching the installer script..."
- signal Segmentation fault on macOS M2 HOT 2
- NPM + Nginx 1.24 + PS 8.1.2 php 8.1 fpm HOT 1
- how to change PS_SHOP_DOMAIN
- PS 8.1.3-8.1-fpm conf HOT 1
- PHP config ignored? HOT 1
- Prestashop 1.7.2.5 with PHP 7.1 HOT 1
- Pass the modules option to the installer script
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker.