Skip to content

Commit

Permalink
ignore /hs_err_
Browse files Browse the repository at this point in the history
  • Loading branch information
tledan committed Feb 9, 2024
1 parent 74ba265 commit 31220d8
Show file tree
Hide file tree
Showing 3 changed files with 80 additions and 83 deletions.
5 changes: 1 addition & 4 deletions api/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,4 @@
/open4goods/
/open4goods-data/
/.factorypath
/hs_err_pid16974.log
/hs_err_pid17282.log
/hs_err_pid17829.log
/hs_err_pid18216.log
/hs_err_*
79 changes: 0 additions & 79 deletions docker-compose.xwiki.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,82 +55,3 @@ services:
- o4g-network
ports:
- "3306"


####################################################################
# Elastic Search
###################################################################

elastic:
image: docker.elastic.co/elasticsearch/elasticsearch:8.11.1
container_name: elastic
environment:
- http.max_content_length=200mb
- node.name=elastic
- cluster.name=es-docker-cluster
- cluster.initial_master_nodes=elastic
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- xpack.security.enabled=false

ulimits:
memlock:
soft: -1
hard: -1
nproc: 65536
nofile:
soft: 65536
hard: 65536

# volumes:
# - /tmp/elastic-data:/usr/share/elasticsearch/data

ports:
- "9200:9200"
networks:
- o4g-network

####################################################################
# Redis
###################################################################

redis:
image: bitnami/redis:latest
container_name: redis
command: ["redis-server", "--stop-writes-on-bgsave-error","no","--protected-mode","no", "--appendonly", "no", "--maxmemory", "20mb", "--maxmemory-policy", "allkeys-lru"]
ports:
- 6379:6379
environment:
- ALLOW_EMPTY_PASSWORD=yes

networks:
- o4g-network



####################################################################
# Kibana
###################################################################

kibana:
image: docker.elastic.co/kibana/kibana:8.11.1
container_name: kibana
depends_on:
- elastic
ports:
- "5601:5601"
environment:
ELASTICSEARCH_URL: http://elastic:9200
ELASTICSEARCH_HOSTS: http://elastic:9200

networks:
- o4g-network


volumes:
elastic-data:
driver: local

networks:
o4g-network:
driver: bridge
79 changes: 79 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
version: '3.3'
services:
####################################################################
# Elastic Search
###################################################################

elastic:
image: docker.elastic.co/elasticsearch/elasticsearch:8.11.1
container_name: elastic
environment:
- http.max_content_length=200mb
- node.name=elastic
- cluster.name=es-docker-cluster
- cluster.initial_master_nodes=elastic
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms256m -Xmx256m"
- xpack.security.enabled=false

ulimits:
memlock:
soft: -1
hard: -1
nproc: 65536
nofile:
soft: 65536
hard: 65536

# volumes:
# - /tmp/elastic-data:/usr/share/elasticsearch/data

ports:
- "9200:9200"
networks:
- o4g-network

####################################################################
# Redis
###################################################################

redis:
image: bitnami/redis:latest
container_name: redis
command: ["redis-server", "--stop-writes-on-bgsave-error","no","--protected-mode","no", "--appendonly", "no", "--maxmemory", "20mb", "--maxmemory-policy", "allkeys-lru"]
ports:
- 6379:6379
environment:
- ALLOW_EMPTY_PASSWORD=yes

networks:
- o4g-network



####################################################################
# Kibana
###################################################################

kibana:
image: docker.elastic.co/kibana/kibana:8.11.1
container_name: kibana
depends_on:
- elastic
ports:
- "5601:5601"
environment:
ELASTICSEARCH_URL: http://elastic:9200
ELASTICSEARCH_HOSTS: http://elastic:9200

networks:
- o4g-network


volumes:
elastic-data:
driver: local

networks:
o4g-network:
driver: bridge

0 comments on commit 31220d8

Please sign in to comment.