[openstreetmap/openstreetmap-website] [WIP] Add docker support (#2272)

Fazle Rabbi notifications at github.com
Fri Jun 21 14:35:40 UTC 2019


So it would seem I have hit a wall. :disappointed: I can build the application and run database migrations and nodejs package installation with `yarn` when the docker files are on the root directory but the database test command fails giving the following error:

```
The HashDiff constant used by this gem conflicts with another gem of a similar name.  As of version 1.0 the HashDiff constant will be completely removed and replaced by Hashdiff.  For more information see https://github.com/liufengyun/hashdiff/issues/45.
rake aborted!
PG::ConnectionBad: could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
```

However, when the docker files are moved to docker directory the `docker-compose build` command fails with `docker_web_1 exited with code 10` error and I can't find any reference of the error code. :no_mouth: 

I have changed the `context` when I moved the docker file to docker directory. If anyone can shade some light on this, would appreciate it. :smile: 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2272#issuecomment-504448825
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190621/4bfc65c2/attachment.html>


More information about the rails-dev mailing list