Comments (10)
-- SOLUTION --
(Warning: this will remove all your docker settings and data, so use caution, and at own risk)
- make sure you are using the latest Docker and docker-compose (ya, I know this is obvious)
- Reset Docker and Remove all data -> Docker -> Preferences -> Reset -> "Remove all data" and "Reset to factory defaults"
- Re-run
docker-compose up
- And Voila!
Basically in the initial build of Postgres, if you built the image with another app, it doesn't run the init.db thus does not install the module for uuid-ossp
. With the clean reset, it forces Docker to rebuild the Postgres image with the init.db file. (Well at least this is my theory, and why this process worked for me.)
from relay-starter-kit.
What's your Docker version, 17.06.2-ce
?
https://docs.docker.com/docker-for-windows/
from relay-starter-kit.
Docker version 17.07.0-ce, build 8784753
docker-compose version 1.15.0, build e12f3b94
docker-machine version 0.12.2, build 9371605
from relay-starter-kit.
Does at least docker-compose build --no-cache
work fine? Does you docker-compose work with other projects / docker-compose.yml files?
from relay-starter-kit.
docker-compose build --no-cache
- does not work either. nodejs-api-starter is the only project I am using the docker-compse up
from relay-starter-kit.
Trying to run on a linux os Fedora Docker version 17.09.0-ce, build afdb6d4
ERROR: Version in "./docker-compose.yml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a version of "2" (or "2.0") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1.
For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/
from relay-starter-kit.
@mrtinkz perhaps your docker-compose
tool is outdated.
from relay-starter-kit.
@koistya I thought about it and updated the docker-compose to the latest, but it's the same result.
from relay-starter-kit.
@mrtinkz: see my solution above. Did you get it working?
from relay-starter-kit.
You can now launch the API app without a Docker.
from relay-starter-kit.
Related Issues (20)
- Adding controller/service layer for business logic HOT 3
- MongoDB instead of PostgreSQL HOT 1
- Where is the Passport.js implementation? HOT 1
- Dependabot can't resolve your JavaScript dependency files
- File Upload HOT 3
- Dependabot can't resolve your JavaScript dependency files
- Dependabot can't resolve your JavaScript dependency files
- big int HOT 1
- SyntaxError: Unexpected token = HOT 2
- Missing quotation marks in setup.js HOT 2
- Feature Request: "New Feature Walkthrough"
- Add the flexibility of multiple roles HOT 1
- Bug with emails that have "." in them breaks username requirements
- README.md out of date - no "setup" script HOT 3
- Nightly build fails
- Account settings page does not update
- docker image for the repo HOT 1
- error while run yarn setup HOT 1
- Readme.md has not been updated. HOT 1
- app-deploy.js file does not exists
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 relay-starter-kit.