-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ParkAPI docker-compose issues #221
Comments
In the production environment the |
Has this issue been resolved for you or are there still unclear problems? @hbruch |
In docker-compose.yml, I'd still rename And in entrypoint.sh, I wonder why python Or do I get something wrong here? |
When we started using docker was no use case so the database setup was intended to be run once on installation. Tbh I cannot say what would happen if |
I want to develop new scrapers and am having some trouble getting started.
The docker-compose file uses a
db
container (resulting in a hostname db in the internal network), while Dockerfile defines a hostpostgres
.Next, apparently no setupdb is run on container startup, so no tables are created in the database.
While I fixed these by changing the container name to postgres in the docker-compose.yml file and adding
python bin/parkapi-setupdb
in entrypoint.sh before starting parkapi-server, I now struggle as no static data can't be fetched, according to the logs:What am I missing?
The text was updated successfully, but these errors were encountered: