Skip to content

Commit

Permalink
Add capabilities and -ports flag (#6)
Browse files Browse the repository at this point in the history
* Add caps and -ports flag

* Remove unneeded DAC_OVERRIDE cap

* Remove unnecessary cap from uuid-annotator.
  • Loading branch information
robertodauria authored Aug 1, 2024
1 parent 355dc04 commit 7e9a831
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/ndt-fullstack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ services:
- -iata=${IATA}
- -output=/autonode
- -healthcheck-addr=:8001
- -ports=9990,9991,9992,9993
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8001/ready"]
interval: 3s
Expand All @@ -32,6 +33,8 @@ services:
- ./autocert:/autocert
cap_drop:
- ALL
cap_add:
- NET_BIND_SERVICE
depends_on:
generate-schemas-ndt7:
condition: service_completed_successfully
Expand Down

0 comments on commit 7e9a831

Please sign in to comment.