How I can test my app without Cloudron or How can I check if the container runs on Cloudron
-
Hey,
my next Level for Packaging is PrestaShop. There I have the problem, I can't start start.sh with an unbound variable.
First I build my image with local docker. Second I will test it local, but the container doesn't start because he find undefined variables. I have tested something, but nothing worked.
if [[ ! -z "${CLOUDRON_APP_DOMAIN:-}" ]]; then php install/index_cli.php --domain=${CLOUDRON_APP_DOMAIN} --db_server=${CLOUDRON_MYSQL_HOST} --db_name=${CLOUDRON_MYSQL_DATABASE} --db_user=${CLOUDRON_MYSQL_USERNAME} --db_password=${CLOUDRON_MYSQL_PASSWORD} --country=de --language=de --timezone=Europe/Berlin --name=CloudronPrestaShop --firstname=Cloudron --lastname=PrestaShop --password=$(cat /app/data/prestashop.secret) fiHow can I check if the container runs on Cloudron, that I can use CLI installer?
How can I test my package without Cloudron if it runs at all?Thanks!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login