Giter Club home page Giter Club logo

Comments (4)

Potomac54 avatar Potomac54 commented on September 8, 2024

Hello @luandro,

check the path of your volumes you have set in the docker-compose.yml file :

volumes:
 - /etc/localtime:/etc/localtime           
 - ./files/private:/var/www/files       
 - ./files/public:/var/www/html/public  
 - ./files/logs:/var/log/apache2   
 - ./config/ojs.config.inc.php:/var/www/html/config.inc.php  
 - ./config/apache.htaccess:/var/www/html/.htaccess        
 - ./config/php.custom.ini:/usr/local/etc/php/conf.d/custom.ini

you must have a file "./config/ojs.config.inc.php" in the directory where docker-compose.yml file is present,

syntax for volumes is

"the path on your hard-disk (could be a directory or a file)":"the path inside the docker image"

from ojs.

lucasdiedrich avatar lucasdiedrich commented on September 8, 2024

@Potomac54 and @marcbria

Thinking about @luandro 's problem, i think we should make this volumes path commented by default, we should always have an working docker-compose without changing anything. What you think guys?

Thanks.

from ojs.

Potomac54 avatar Potomac54 commented on September 8, 2024

yes it's a possibility, provide a docker-compose.yml where all volumes path will be commented, something which can make ojs "plug and play" by running "docker-compose up" command

from ojs.

marcbria avatar marcbria commented on September 8, 2024

Full agree.
Docker and docker-compose should work "out of the box".

But it's ok if we add "clues" about how to improve them... for instance, adding commented lines to give persistence to your volumes as we are doing with adminer.

BTW, would be nice to "name" volumes. I will send you a PR as soon as I found time for it.
Sorry a lot for the delay. I'm overwhelmed those days with the conference. :-(

from ojs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.