Comments (4)
@uglycoyote, thank you for trying this.
I think that what depends_on
does is to ensure that a dependency container, i.e. mongo, starts before the other one. However, the mongo application needs some more time to start after the container launches, especially for the first time. I'm not sure it is possible to express such wait times in docker-compose.
In your setup, could you please try the following:
docker-compose down
- Clear the
$DATA_LOCATION
directory docker-compose up -d mongo
and then observedocker-compose logs -f mongo
, and wait until it gets readydocker-compose up -d
to bring up all the other services
If it works for you, we can probably add it to my README file as suggested steps for the first launch of the whole application.
from learninglocker2-docker.
Yes, that works, so might be good to add to the readme.
from learninglocker2-docker.
(thanks very much!)
from learninglocker2-docker.
Done: b76b8e5. Thanks!
from learninglocker2-docker.
Related Issues (10)
- Automatically create recommended indexes in Mongo
- Can't set SMTP From field if it differs from SMTP user
- Conflict with other dockers on the same vps machine
- Way to upgrade to Version 3 in a deployed LearningLocker HOT 3
- pm2
- EXPRESS_PORT setting in xapi-service
- What is the DOCKER_TAG variable advantage?
- Feature Request: Don't enforce https for the included nginx HOT 1
- Error: ENOENT: no such file or directory, open '.env' HOT 4
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 learninglocker2-docker.