datamade / bga-payroll

💰 How much do your public officials make?
4 stars 4 forks source link

docker-compose instructions don't work with Docker Compose version v2.0.0-rc.1 #529

Open fgregg opened 2 years ago

fgregg commented 2 years ago

Running docker-compose as directed in the README.md failed:

> docker-compose up -d --build
[+] Running 0/5
 ⠿ redis Error                                                             1.0s
 ⠿ postgres Error                                                          1.0s
 ⠿ solr Error                                                              1.0s
 ⠿ worker Error                                                            1.0s
 ⠿ migration Error                                                         1.0s
Error response from daemon: pull access denied for bga-payroll, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

This worked

> docker-compose up app -d --build
...
> docker-compose up -d --build

It's because there building the app is what builds the bga-payroll image, which other parts of the docker-compose depends on.