Comments (3)
You have to set the env variables
ENV REPO="https://github.com/PrestaShop/PrestaShop" \
SSH_PRIVATE_KEY="" \
URL="www.example.co.uk" \
PS_FOLDER_ADMIN="admin" \
PS_FOLDER_INSTALL="install" \
PS_INSTALL_AUTO="0" \
PS_ERASE_DB="0" \
PS_INSTALL_GIT="0" \
CLOUDFLARE_CDN="0" \
DEV_MODE="0" \
TERM="xterm" \
MYSQL_HOST="172.17.0.1" \
MYSQL_DATABASE="" \
MYSQL_USER="" \
MYSQL_PASSWORD=""
So after you have installed a fresh installation stop the container and edit PS INSTALL AUTO to 0. You also need to edit the admin folder location to whatever it renamed for you after installation.
In terms of storage i'm not sure if it would work from a samba share as i use NFS or iSCSI for k8s storage. I think you may need to set the correct permissions on the server.
You could try running this inside the prestashop container
find /usr/html/ -type f -exec chmod 644 {} \; && find /usr/html/ -type d -exec chmod 755 {} \;
chown -R nginx:nginx /usr/html/
from alpine-prestashop.
Thansk i do that for the enviroments i use YML with portainer its works ..
but on install done i stop the container change the enviroment and restart again for the container..
and permissions i add users:group to my groups locals, but i like to have some way to set the user, or UID/GID from host to guest , automatic,
im usign a samba server on RPI, to share folder on networks and use on my windows pc (yes i know win but its so), i change the settins to 775 add the users show in folder "weir users:group" to samba gruop and main user.
its not automatic sure buts its okey!!
from alpine-prestashop.
Not sure on SMB shares, they usually never really work as intended. You would be better off using NFS or iSCSI
from alpine-prestashop.
Related Issues (3)
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 alpine-prestashop.