Skip to content

Commit

Permalink
move dockerfiles into folder
Browse files Browse the repository at this point in the history
  • Loading branch information
jonhealy1 committed Mar 3, 2024
1 parent 02144e5 commit 9e2d4ec
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 77 deletions.
1 change: 1 addition & 0 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: stac-fastapi-elasticsearch

on:
push:
branches:
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ run_os = docker-compose \

.PHONY: image-deploy-es
image-deploy-es:
docker build -f Dockerfile.dev.es -t stac-fastapi-elasticsearch:latest .
docker build -f dockerfiles/Dockerfile.dev.es -t stac-fastapi-elasticsearch:latest .

.PHONY: image-deploy-os
image-deploy-os:
docker build -f Dockerfile.dev.os -t stac-fastapi-opensearch:latest .
docker build -f dockerfiles/Dockerfile.dev.os -t stac-fastapi-opensearch:latest .

.PHONY: run-deploy-locally
run-deploy-locally:
Expand Down
1 change: 1 addition & 0 deletions data_loader/data_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
DATA_DIR = os.path.join(os.path.dirname(__file__), "setup_data/")

backend = sys.argv[1].lower()

if backend == "opensearch":
STAC_API_BASE_URL = "http://localhost:8082"
elif backend == "elasticsearch":
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
restart: always
build:
context: .
dockerfile: Dockerfile.dev.es
dockerfile: dockerfiles/Dockerfile.dev.es
environment:
- APP_HOST=0.0.0.0
- APP_PORT=8080
Expand Down Expand Up @@ -36,7 +36,7 @@ services:
restart: always
build:
context: .
dockerfile: Dockerfile.dev.os
dockerfile: dockerfiles/Dockerfile.dev.os
environment:
- APP_HOST=0.0.0.0
- APP_PORT=8082
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
73 changes: 0 additions & 73 deletions scripts/publish

This file was deleted.

0 comments on commit 9e2d4ec

Please sign in to comment.