Skip to content

Commit

Permalink
Updates in readme and docker compose file
Browse files Browse the repository at this point in the history
  • Loading branch information
qlands committed Mar 27, 2024
2 parents e3f42da + 80ccdfa commit 8391301
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ mkdir /opt/formshare/formshare_odata_webapps
mkdir /opt/formshare/elasticsearch
mkdir /opt/formshare/elasticsearch/esdata
mkdir /opt/formshare/elasticsearch/esdata2
mkdir /opt/formshare/elasticsearch/esdata3
sudo chmod -R g+w /opt/formshare

# Set enough memory for Elasticsearch
Expand Down
14 changes: 7 additions & 7 deletions docker_compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:
image: docker.elastic.co/elasticsearch/elasticsearch:7.14.2
container_name: fses20240328n01
environment:
- network.host=172.28.1.1
- network.host=172.28.1.2
- node.name=fses20240328n01
- cluster.name=fs-es-cluster
- discovery.seed_hosts=fses20240328n02
Expand All @@ -35,13 +35,13 @@ services:
- /opt/formshare/elasticsearch/esdata:/usr/share/elasticsearch/data
networks:
fsnet:
ipv4_address: 172.28.1.1
ipv4_address: 172.28.1.2

fses20240328n02:
image: docker.elastic.co/elasticsearch/elasticsearch:7.14.2
container_name: fses20240328n02
environment:
- network.host=172.28.1.2
- network.host=172.28.1.3
- node.name=fses20240328n02
- cluster.name=fs-es-cluster
- discovery.seed_hosts=fses20240328n01
Expand All @@ -57,7 +57,7 @@ services:
- /opt/formshare/elasticsearch/esdata2:/usr/share/elasticsearch/data
networks:
fsnet:
ipv4_address: 172.28.1.2
ipv4_address: 172.28.1.3

formshare_20240328:
image: qlands/formshare2:20240328
Expand All @@ -69,13 +69,13 @@ services:
FORMSHARE_ADMIN_USER: admin
FORMSHARE_ADMIN_EMAIL: [email protected]
FORMSHARE_ADMIN_PASSWORD: my_secure_password
ELASTIC_SEARCH_HOST: 172.28.1.1
ELASTIC_SEARCH_HOST: 172.28.1.2
ELASTIC_SEARCH_PORT: 9200
FORMSHARE_HOST: 172.28.1.4
FORMSHARE_PORT: 5900
FORWARDED_ALLOW_IP: 172.28.1.4
WAIT_HOSTS_TIMEOUT: 360
WAIT_HOSTS: 172.28.1.5:3306, 172.28.1.1:9200
WAIT_HOSTS: 172.28.1.5:3306, 172.28.1.2:9200
volumes:
- /opt/formshare/repository:/opt/formshare_repository
- /opt/formshare/log:/opt/formshare_log
Expand All @@ -95,4 +95,4 @@ networks:
ipam:
driver: default
config:
- subnet: 172.32.0.0/16
- subnet: 172.28.0.0/16

0 comments on commit 8391301

Please sign in to comment.