Comments (4)
Oh thanks. Will look into this.
from docker-suitecrm.
I am still working on a fix on that.
The probem however is that the config.php will be mounted on the host as a folder. Maybe I missunderstood the docker volume mounting
However, a better fix for you would be to simply create the config.php file. This way the docker-compose would start and you would have the config_overwrites which are working with the ENVS
And more important it would be updateable. SuiteCRM is a bit weird there, because it does not have a config.php per default. It generates one. So if you don't save the config.php in a volume it would be overwritten on every new version.
from docker-suitecrm.
@apertureless when you run this on your machine(s) do you have a local config (perhaps at /srv/docker/suitecrm/upload/config.php
that contains anything? Is it an empty file that's added as a volume for persistence?
If it's an empty file for persistence the compose file could be adjusted to be:
# ... snip ...
suitecrm:
build: src
ports:
- "8080:80"
depends_on:
- mysql
volumes:
- ./upload:/var/www/html/upload
- ./config.php:/var/www/html/config.php
environment:
DB_TYPE: mysql
DB_MANAGER: MysqlManager
# ... snip ...
And then there could be an empty uploads
dir and an empty config.php
file in the project root (could go elsewhere) that can be filled/used by SuiteCRM as needed.
I've tested this locally with our own docker/php setup and was able to get things working without issue doing something like this.
from docker-suitecrm.
Fixed now :)
from docker-suitecrm.
Related Issues (5)
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-suitecrm.