Comments (9)
And with this? 1b00647
from limesurvey.
Hello @rclayton-the-terrible just configure the external database in Limesurvey setup page. You don't need to do anything at the container side. Pass -e DISABLE_MYSQL=yes in docker run to disable the built in MySQL Database
from limesurvey.
Sounds good. Let me think how it can be accomplished. I never though in that because I didn't consider the RDS scenario.
from limesurvey.
Hello,
After a while I investigated enough this issue and its motivation.
Despite the included MySQL in the container, the user can always connect to an external database just typing the right parameters in the Database configuration page.
The problem of course is to have an included mysql running. I now know where the change can be made to the parent container so the included MySQL won't run. I am thinking in adding an environment variable to avoid the included MySQL from running. It will also work for the docker compose scenario.
You may ask. But why you don't simply point the Dockerfile to php:apache? Simplicity. This container have many users and I am sure at least some of them prefer just one docker run
and don't deal with container linking or install another database. But if they want to, we need to provide a way of doing it.
I am thinking also update the readme page remembering tat despite the included MySQL, the user have freedom for using anothe database. Also I will update the Dockerfile so PostgreSQL will be supported as well. Although I can add Sql Server as well it will be the first option in configuraiton page and the users will be confused a bit.
Regards
from limesurvey.
@crramirez We ended up forking the deployment and doing exactly what you said (configuring Limesurvey to connect to the external DB). We unfortunately still use the LAMP image as the base, largely because installing all of the dependencies from php:apache was a nightmare (we're a Node.js team so this was a task beyond us). We also use an external MySQL instance in development, started and linked via Docker Compose. This was largely because we wanted to store MySQL bootstrap scripts for Limesurvey in version control -- we also maintain the Database storage as an external volume. If you're interested in any of that code, let me know.
from limesurvey.
Fixed with #7?
from limesurvey.
@rclayton-the-terrible I know this over a year old, but I'd love to take a look at that code to attach an external MySQL database.
Thanks
from limesurvey.
@clingeric unfortunately, I left the company that I did this work at and don't have access to that code anymore. Maybe @coxsone can help?
from limesurvey.
from limesurvey.
Related Issues (20)
- Admin page login timeout behind proxy HOT 4
- Update request HOT 3
- ComfortUpdate fails with "413 Request Entity Too Large"
- limesurvey-3.x version bump HOT 28
- Smaller image HOT 1
- localhost as database HOT 6
- Provide License HOT 2
- Error when I try to configure database mysql HOT 1
- session.save_path: /var/lib/php5 HOT 6
- LimeSurvey behind traefik proxy HOT 1
- How to do a Update? HOT 11
- Impossible to create instance with any database with separated containers HOT 7
- Config should be in a volume HOT 1
- Update to current LTS Version HOT 12
- Installation dialog after container restart HOT 3
- No network inside container
- PHP PDO driver library None found&PHP/PECL JSON library with !mark HOT 3
- does NOT work after restart HOT 2
- error by Survey import
- Updated LimeSurvey but it returns error on admin login
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 limesurvey.