Skip to content

Commit 41c5145

Browse files
tloubrieu-jplThomas Loubrieu
andauthored
Remove useless script in docker compose setup (#539)
* don't use the local script to launch the API, this is useless and does not match the AWS deployment setup. * trigger local precommit check * migrate precommit configuration * add other missing closing double quote --------- Co-authored-by: Thomas Loubrieu <loubrieu@jpl.nasa.gov>
1 parent dda5e70 commit 41c5145

3 files changed

Lines changed: 2 additions & 60 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ repos:
4949
name: Tests
5050
entry: pytest
5151
language: system
52-
stages: [push]
52+
stages: [pre-push]
5353
pass_filenames: false
5454

5555
- repo: local

docker/docker-compose.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,15 +128,14 @@ services:
128128
environment:
129129
- ES_URL=${ES_URL}
130130
- SERVER_PORT=8080
131+
- SPRING_BOOT_APP_ARGS=--openSearch.host=elasticsearch:9200 --logging.level.root=DEBUG
131132
ports:
132133
- "8080:8080"
133134
volumes:
134135
# make volume match how the spring-boot plugin deploys in docker
135136
- ${REG_API_APP_PROPERTIES_FILE}:/workspace/BOOT-INF/classes/application.properties
136-
- ./scripts/registry-api.sh:/usr/local/registry-api-service/registry-api.sh
137137
networks:
138138
- pds
139-
command: /usr/local/registry-api-service/registry-api.sh
140139
healthcheck:
141140
test:
142141
- CMD

docker/scripts/registry-api.sh

Lines changed: 0 additions & 57 deletions
This file was deleted.

0 commit comments

Comments
 (0)