Comments (5)
OK, going to make this after the upgrade.
from ojs.
Marc, adding PWD to the docs will be an awesome upgrade, i created an test branch i made some changeds at the docker-compose.yml.
You can test at: https://labs.play-with-docker.com/?stack=https://raw.githubusercontent.com/lucasdiedrich/ojs/test/docker-compose.yml
It seems that`s is working now, i just have to add the env variables again. Can you test it??
Going to look the other issue this afternoon. Thanks.
from ojs.
Thanks a lot Lucas.
Looks like PWD don't like variable expansion and you need to hardcode the variables. :-(
What about keeping a docker-compose.yml with variables as before (for development and production environments) and create a copy (stack.yml or if it works, demo.yml) with hardcoded vars, just for PWD?
I tested and now works better than before, because the full stack is build, but when you visit the url of the site shows a WSOD till timeout.
No clue about why it happens. I will review it next week or so. We are so close.
Thanks a lot for your work and time,
m.
from ojs.
Marc, there is a reasonable for not working with .env variable, as we are just pointing to the docker-compose.yml when PWD loads this file he doesn't know the existence of the .env file over the repository.
I created this file just to test that out, i'm going to rollback it and just remove the .env lines, i think its going to work then. I'm thinking about creating an examples folder and put this docker-compose files inside it, what do you think?
Thanks.
from ojs.
I was expecting some magic from PWD but yes, it makes a lot of sense.
An examples folder with "hardcoded variables" docker-compose is a perfect solution.
But please, think in this as a "feature request"... I mean, if I were you, I will focus on the new release upgrade instead of this. ;-)
Please, let me know if you need help or you want a PR.
Thanks!
from ojs.
Related Issues (20)
- Unknown charset error HOT 4
- New release (and a proposal) HOT 32
- Unable to install OJS with latest tag (ojs-3_1_1-4) HOT 6
- Unable to install OJS with php7-test tag (ojs-3_1_2-0) HOT 13
- ojs-cli-install doesn't work as expected HOT 10
- Feature request : generate dynamically config.inc.php inside the container HOT 12
- Feature request : re-create automatically the database if there are no tables HOT 7
- Docker-compose not working out of the box HOT 4
- problem when the server is running with https HOT 11
- Is "file" utility present in php:7.3-alpine image ? HOT 5
- Testing latest branch HOT 2
- OJS installed by default or better not? HOT 8
- Can not upload image in an email form creation HOT 6
- Testing master branch HOT 1
- Private folder is wrong in autoinstallation querystring
- Avoid the error "checkstart entered FATAL state, too many start retries too quickly" HOT 8
- Add support for multiple OJS versions HOT 13
- New release 3.1.2-1 HOT 6
- Missing dependency for texture plugin HOT 1
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 ojs.