Skip to content

Commit

Permalink
add entrypoint override for migrations container
Browse files Browse the repository at this point in the history
  • Loading branch information
mmorgan-pt committed Nov 20, 2024
1 parent 2d0788d commit 83bb644
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plextrac
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ svcValues[contextual-scoring-service-entrypoint]='--entrypoint ["npm","run","sta
svcValues[contextual-scoring-service-healthcheck]='--health-cmd=["npm","run","healthcheck:contextual-scoring-service","liveness","10","--","--no-update-notifier"]'
#Migrations
svcValues[migrations-volumes]="--volumes-from=plextracapi"
svcValues[migrations-entrypoint]='--entrypoint "npm run maintenance:enable && npm run pg:superuser:bootstrap --if-present && npm run pg:migrate && npm run db:migrate && npm run pg:etl up all && npm run maintenance:disable"'
#Nginx
svcValues[plextracnginx-volumes]="-v letsencrypt:/etc/letsencrypt:rw -v nginx_ssl_certs:/etc/ssl/:Z,U -v nginx_logos:/usr/share/nginx/html/dist/img/:Z,U"
svcValues[plextracnginx-healthcheck]='--health-cmd=["echo","GET","/","|","openssl","s_client","-quiet","-connect","127.0.0.1:443"]'
Expand Down

0 comments on commit 83bb644

Please sign in to comment.