run docker

This commit is contained in:
2023-05-14 18:14:41 +02:00
parent cfe7ec2f77
commit 38a428eb52
3 changed files with 3 additions and 2 deletions

2
run
View File

@@ -1 +1 @@
docker run --rm -it --network elastic $(docker build -q .)
docker run --rm -it -e ELASTIC_HOST=http://elastic:9200 --network elastic $(docker build -q .)

1
run_http Normal file
View File

@@ -0,0 +1 @@
docker run --rm -it -e ELASTIC_HOST=http://elastic:9200 -p 8080:8080 --network elastic $(docker build -q -f Dockerfile_http .)

View File

@@ -1 +1 @@
docker run --rm -it -e ELASTIC_HOST=https://elastic:9200 --network elastic $(docker build -q -f Dockerfile_index .)
docker run --rm -it -e ELASTIC_HOST=http://elastic:9200 --network elastic $(docker build -q -f Dockerfile_index .)