Comments (2)
Hello. Your issue doesn't really provide us with any information about how this Docker was created or what you're trying to do. None of our images use phpmyadmin so I'm assuming this is something that you created and we can't support that. Our official Docker instructions can be found at https://www.simplerisk.com/download by selecting "Install SimpleRisk as a Docker container". I just followed those instructions and it installed the current 20210802-001 release of SimpleRisk with a fully passing health check without any issues. I'm going to close this, but if you need additional assistance with a SimpleRisk instance, I'd ask that you please contact support (at) simplerisk (dot) com. Thank you.
from docker.
Thanks for the feedback.
After I modified the entrypoint script as below and remake the image, I am able to restart container without the issue.
set_config(){
# If MySQL hasn't already been configured
if [ ! -f /configurations/mysql-configured ]; then
CONFIG_PATH='/var/www/simplerisk/includes/config.php'
SIMPLERISK_DB_HOSTNAME=localhost && sed -i "s/\('DB_HOSTNAME', '\).*\(');\)/\1$SIMPLERISK_DB_HOSTNAME\2/g" $CONFIG_PATH
SIMPLERISK_DB_PORT=3306 && sed -i "s/\('DB_PORT', '\).*\(');\)/\1$SIMPLERISK_DB_PORT\2/g" $CONFIG_PATH
SIMPLERISK_DB_USERNAME=simplerisk && sed -i "s/\('DB_USERNAME', '\).*\(');\)/\1$SIMPLERISK_DB_USERNAME\2/g" $CONFIG_PATH
set_db_password
SIMPLERISK_DB_DATABASE=simplerisk && sed -i "s/\('DB_DATABASE', '\).*\(');\)/\1$SIMPLERISK_DB_DATABASE\2/g" $CONFIG_PATH
# shellcheck disable=SC2015
[ "$(cat /tmp/version)" == "testing" ] && sed -i "s|//\(define('.*_URL\)|\1|g" $CONFIG_PATH || true
fi
}
from docker.
Related Issues (17)
- Mapping Volumes to Local Disk for SimpleRisk docker - Breaks functionality HOT 3
- Publish simplerisk-minimal Docker image to Docker Hub HOT 4
- No releases available for package "pecl.php.net/mcrypt" install failed HOT 4
- Docker container crashes on subsequent runs HOT 1
- Add SIMPLERISK_INSTALLED environment variable to DockerFile HOT 5
- Image is incompatible with deployment to Kubernetes HOT 3
- Entrypoint error when using hyphen on database name (`simplerisk-minimal`)
- The image bug HOT 5
- installation procedure don't work HOT 2
- CVE-2020-36694 HOT 3
- support secrets HOT 4
- fpm image variant HOT 3
- support special characters in passwords HOT 1
- unable to start. Expects database to not exist HOT 3
- alpine image variant HOT 1
- redirect loop on startup HOT 7
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.