Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@
*
!distribution
!docker/src/main/DockerCompose/start-1c1d.sh
!docker/src/main/DockerCompose/iotdb-docker-env.sh
!docker/src/main/ainode-build-data/
!docker/src/main/ainode-entrypoint.sh
!docker/src/main/ainode-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ services:
- dn_schema_region_consensus_port=10750
- dn_data_region_consensus_port=10760
- dn_seed_config_node=iotdb-service:10710
- IOTDB_JMX_OPTS=-Xms4G -Xmx4G -XX:MaxDirectMemorySize=1G
- CONFIGNODE_JMX_OPTS=-Xms1G -Xmx1G -XX:MaxDirectMemorySize=256M
volumes:
- ./data/iotdb:/iotdb/data
- ./logs/iotdb:/iotdb/logs
Expand Down Expand Up @@ -74,4 +72,4 @@ services:

networks:
iotdb:
external: false
external: false
3 changes: 0 additions & 3 deletions docker/src/main/DockerCompose/docker-compose-cluster-1c2d.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ services:
- cn_internal_port=10710
- cn_consensus_port=10720
- cn_seed_config_node=iotdb-confignode:10710
- CONFIGNODE_JMX_OPTS=-Xms1G -Xmx1G -XX:MaxDirectMemorySize=256M
volumes:
- ./data/confignode:/iotdb/data
- ./logs/confignode:/iotdb/logs
Expand Down Expand Up @@ -56,7 +55,6 @@ services:
- dn_mpp_data_exchange_port=10740
- dn_schema_region_consensus_port=10750
- dn_data_region_consensus_port=10760
- IOTDB_JMX_OPTS=-Xms4G -Xmx4G -XX:MaxDirectMemorySize=1G
volumes:
- ./data/datanode1:/iotdb/data/
- ./logs/datanode1:/iotdb/logs/
Expand All @@ -83,7 +81,6 @@ services:
- dn_mpp_data_exchange_port=10740
- dn_schema_region_consensus_port=10750
- dn_data_region_consensus_port=10760
- IOTDB_JMX_OPTS=-Xms4G -Xmx4G -XX:MaxDirectMemorySize=1G
volumes:
- ./data/datanode2:/iotdb/data/
- ./logs/datanode2:/iotdb/logs/
Expand Down
2 changes: 0 additions & 2 deletions docker/src/main/DockerCompose/docker-compose-host-3c3d.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ services:
- schema_replication_factor=3
- schema_region_consensus_protocol_class=org.apache.iotdb.consensus.ratis.RatisConsensus
- config_node_consensus_protocol_class=org.apache.iotdb.consensus.ratis.RatisConsensus
- CONFIGNODE_JMX_OPTS=-Xms1G -Xmx1G -XX:MaxDirectMemorySize=256M
volumes:
- /etc/hosts:/etc/hosts:ro
- ./data/confignode:/iotdb/data
Expand All @@ -56,7 +55,6 @@ services:
- dn_data_region_consensus_port=10760
- data_replication_factor=3
- data_region_consensus_protocol_class=org.apache.iotdb.consensus.iot.IoTConsensus
- IOTDB_JMX_OPTS=-Xms4G -Xmx4G -XX:MaxDirectMemorySize=1G
volumes:
- /etc/hosts:/etc/hosts:ro
- ./data/datanode:/iotdb/data/
Expand Down
4 changes: 1 addition & 3 deletions docker/src/main/DockerCompose/docker-compose-standalone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ services:
- dn_schema_region_consensus_port=10750
- dn_data_region_consensus_port=10760
- dn_seed_config_node=iotdb-service:10710
- IOTDB_JMX_OPTS=-Xms4G -Xmx4G -XX:MaxDirectMemorySize=1G
- CONFIGNODE_JMX_OPTS=-Xms1G -Xmx1G -XX:MaxDirectMemorySize=256M
volumes:
- ./data:/iotdb/data
- ./logs:/iotdb/logs
Expand All @@ -54,4 +52,4 @@ services:

networks:
iotdb:
external: true
external: true
3 changes: 3 additions & 0 deletions docker/src/main/DockerCompose/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ trap 'on_stop' SIGTERM SIGKILL SIGQUIT


replace-conf-from-env.sh $start_what
if [[ -f "${current_path}/iotdb-docker-env.sh" ]]; then
. "${current_path}/iotdb-docker-env.sh" "$start_what"
fi

case "$1" in
datanode)
Expand Down
Loading
Loading