add wait-for.sh to Dockerfile
This commit is contained in:
parent
8e1c638f4e
commit
62a681d657
|
|
@ -8,5 +8,4 @@ Gemfile.lock
|
|||
Rakefile
|
||||
*.md
|
||||
*.yml
|
||||
scripts
|
||||
env
|
||||
|
|
|
|||
|
|
@ -78,6 +78,7 @@ RUN apt-get update \
|
|||
COPY conf/passbolt.conf /etc/nginx/conf.d/default.conf
|
||||
COPY conf/supervisor/*.conf /etc/supervisor/conf.d/
|
||||
COPY bin/docker-entrypoint.sh /docker-entrypoint.sh
|
||||
COPY scripts/wait-for.sh /usr/bin/wait-for.sh
|
||||
|
||||
EXPOSE 80 443
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@ services:
|
|||
volumes:
|
||||
- gpg_volume:/var/www/passbolt/config/gpg
|
||||
- images_volume:/var/www/passbolt/webroot/img/public/images
|
||||
- ./scripts/wait-for.sh:/usr/bin/wait-for.sh
|
||||
command: ["/usr/bin/wait-for.sh", "db:3306", "--", "/docker-entrypoint.sh"]
|
||||
ports:
|
||||
- 80:80
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@ services:
|
|||
- gpg_volume:/var/www/passbolt/config/gpg
|
||||
- images_volume:/var/www/passbolt/webroot/img/public
|
||||
- ./license:/var/www/passbolt/config/license
|
||||
- ./scripts/wait-for.sh:/usr/bin/wait-for.sh
|
||||
tmpfs:
|
||||
- /run
|
||||
command: ["/usr/bin/wait-for.sh", "db:3306", "--", "/docker-entrypoint.sh"]
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@ services:
|
|||
volumes:
|
||||
- gpg_volume:/var/www/passbolt/config/gpg
|
||||
- images_volume:/var/www/passbolt/webroot/img/public
|
||||
- ./scripts/wait-for.sh:/usr/bin/wait-for.sh
|
||||
tmpfs:
|
||||
- /run
|
||||
command: ["/usr/bin/wait-for.sh", "db:3306", "--", "/docker-entrypoint.sh"]
|
||||
|
|
|
|||
Loading…
Reference in New Issue