File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,10 @@ services:
3333 set -e
3434 docker-entrypoint.sh >/dev/null 2>&1 || true
3535 exec vault server -config=/vault/config/local.json
36+ networks :
37+ default :
38+ aliases :
39+ - vault.local
3640 volumes :
3741 - ./backend/central-system/vault/vault-data:/vault/data
3842 - ./backend/central-system/vault/vault.crt:/vault/config/vault.crt:ro
@@ -41,7 +45,6 @@ services:
4145 cap_add :
4246 - IPC_LOCK
4347 restart : unless-stopped
44-
4548 vault-unseal :
4649 image : curlimages/curl:8.9.1
4750 depends_on :
@@ -56,6 +59,12 @@ services:
5659 entrypoint : ['/bin/sh', '-lc']
5760 command : ['/unseal.sh']
5861 restart : ' no'
62+ healthcheck :
63+ test : ['CMD', 'vault', 'status']
64+ interval : 5s
65+ timeout : 5s
66+ retries : 20
67+ start_period : 30s
5968 database :
6069 image : ' mariadb:10.5.9'
6170 container_name : tokenization-database
Original file line number Diff line number Diff line change @@ -27,6 +27,8 @@ services:
2727 condition : service_completed_successfully
2828 database :
2929 condition : service_healthy
30+ vault-unseal :
31+ condition : service_completed_successfully
3032
3133 install-webapp :
3234 image : node:22-alpine
You can’t perform that action at this time.
0 commit comments