forked from newrelic/node-newrelic
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tried starting es with docker-compose
- Loading branch information
Showing
4 changed files
with
85 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
version: "2.1" | ||
services: | ||
elasticsearch: | ||
container_name: nr_node_elastic | ||
image: docker.elastic.co/elasticsearch/elasticsearch:8.7.1 | ||
environment: | ||
- "ES_JAVA_OPTS=-Xms512m -Xmx512m" | ||
- "network.host=_site_" | ||
- "transport.host=127.0.0.1" | ||
- "discovery.type=single-node" | ||
- "http.host=0.0.0.0" | ||
- "xpack.security.enabled=false" | ||
ports: | ||
- "127.0.0.1:9200:9200" | ||
healthcheck: | ||
test: ["CMD", "curl", "-f", "http://127.0.0.1:9200"] | ||
interval: 30s | ||
timeout: 10s | ||
retries: 5 | ||
|
||
# nr_node_memcached: | ||
# image: memcached | ||
# ports: | ||
# - "11211:11211" | ||
|
||
#if docker ps -a | grep -q "nr_node_memcached"; then | ||
# docker start nr_node_memcached; | ||
#else | ||
# docker run -d --name nr_node_memcached -p 11211:11211 memcached; | ||
#fi | ||
# | ||
#if docker ps -a | grep -q "\bnr_node_mongodb\b"; then | ||
# docker start nr_node_mongodb; | ||
#else | ||
# docker run -d --platform linux/amd64 --name nr_node_mongodb -p 27017:27017 library/mongo:3; | ||
#fi | ||
# | ||
#if docker ps -a | grep -q "nr_node_mongodb_5"; then | ||
# docker start nr_node_mongodb_5; | ||
#else | ||
# docker run -d --name nr_node_mongodb_5 -p 27018:27017 library/mongo:5; | ||
#fi | ||
# | ||
#if docker ps -a | grep -q "nr_node_mysql"; then | ||
# docker start nr_node_mysql; | ||
#else | ||
# docker run -d --platform linux/amd64 --name nr_node_mysql \ | ||
# -e "MYSQL_ALLOW_EMPTY_PASSWORD=yes" \ | ||
# -e "MYSQL_ROOT_PASSWORD=" \ | ||
# -p 3306:3306 mysql:5; | ||
#fi | ||
# | ||
#if docker ps -a | grep -q "nr_node_redis"; then | ||
# docker start nr_node_redis; | ||
#else | ||
# docker run -d --name nr_node_redis -p 6379:6379 redis; | ||
#fi | ||
# | ||
#if docker ps -a | grep -q "nr_node_cassandra"; then | ||
# docker start nr_node_cassandra; | ||
#else | ||
# docker run -d --name nr_node_cassandra -p 9042:9042 zmarcantel/cassandra; | ||
#fi | ||
|
||
#if docker ps -a | grep -q "nr_node_postgres"; then | ||
# docker start nr_node_postgres; | ||
#else | ||
# docker run -d --name nr_node_postgres -p 5432:5432 postgres:9.2; | ||
#fi | ||
# | ||
#if docker ps -a | grep -q "nr_node_postgres_prisma"; then | ||
# docker start nr_node_postgres_prisma; | ||
#else | ||
# # Prisma needs a newer version of Postgres | ||
# docker run -d --name nr_node_postgres_prisma -p 5434:5432 -e POSTGRES_PASSWORD=postgres postgres:15; | ||
#fi | ||
# | ||
#if docker ps -a | grep -q "nr_node_rabbit"; then | ||
# docker start nr_node_rabbit; | ||
#else | ||
# docker run -d --name nr_node_rabbit -p 5672:5672 rabbitmq:3; | ||
#fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters