Remove wait-for-it from docker-compose.yml

Given that the script is used internally, it should be added to the Dockerfile, not the docker-compose.yml. Trying to include it from the docker-compose.yml file means that you might run into issues where it is not executable, and therefore the entrypoint command cannot run it (as it won't exist as an executable).
pull/159/head
Shrike 2 months ago committed by GitHub
parent 488b478101
commit 9261b912c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      docker-compose.yml

@ -12,7 +12,6 @@ services:
- "80:80"
- "443:443"
volumes:
- ./web/wait-for-it.sh:/usr/local/bin/wait-for-it.sh:ro
- /dev/urandom:/dev/random
- ${DATA_DIR:-./data}/web:/var/www/MISP
environment:

Loading…
Cancel
Save