Added container names and healthchecks for web and db services.
```
services:
web:
container_name: openstreetmap-web
healthcheck:
test: ["CMD", "wget", "--spider",
"--timeout=5", "http://localhost:3000"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s
db:
container_name: openstreetmap-db
```
<!--
Please read the contributing guidelines before making a PR:
https://github.com/openstreetmap/openstreetmap-website/blob/master/CONTRIBUTING.md
Pay particular attention to the section on how to present PRs:
https://github.com/openstreetmap/openstreetmap-website/blob/master/CONTRIBUTING.md#pull-requests
-->
### Description
<!--Describe your changes in detail. If you have made changes to the UI,
include screenshots. If your PR addresses a Github issue, please link to
it.-->
### How has this been tested?
<!--Explain the steps you took to test your code.-->
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/6718
-- Commit Summary --
* Enhance docker-compose with container names and healthchecks
-- File Changes --
M docker-compose.yml (9)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/6718.patch
https://github.com/openstreetmap/openstreetmap-website/pull/6718.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6718
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev