[openstreetmap/openstreetmap-website] Add Docker Compose Support for Development Environment (#2409)

Tobias notifications at github.com
Wed Dec 30 12:25:07 UTC 2020


@migurski how to I migrate to the newest version? I did a rerun of docker-compose build after rebasing and that ran through. But I see errors afterwards:

### 1

```
docker-compose run --rm web bundle exec rake test:db
Creating openstreetmap-website_web_run ... done
rake aborted!
ActiveRecord::StatementInvalid: PG::InsufficientPrivilege: ERROR:  permission denied to create database
/var/lib/gems/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/connection_adapters/postgresql/database_statements.rb:92:in `exec'
```

### 2

```
$ cp config/docker.database.yml config/database.yml

cp: config/docker.database.yml: No such file or directory
```

### 3

```
$ docker-compose up -d

ERROR:
        Can't find a suitable configuration file in this directory or any
        parent. Are you in the right directory?

        Supported filenames: docker-compose.yml, docker-compose.yaml
```

-- 
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/2409#issuecomment-752515182
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20201230/a54f8cba/attachment.htm>


More information about the rails-dev mailing list