forked from nikitich/docs
Изменил(а) на 'install.md'
parent
2a6432d543
commit
3b8ef961a4
53
install.md
53
install.md
|
|
@ -67,59 +67,6 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Не актуальное
|
|
||||||
## Инструкция по установке e-node
|
|
||||||
### Установка основной базы данных (clickhouse)
|
|
||||||
|
|
||||||
docker run -d \
|
|
||||||
--name=enode-clickhouse \
|
|
||||||
--restart=unless-stopped \
|
|
||||||
--ulimit nofile=262144:262144 \
|
|
||||||
|
|
||||||
--user 1000:1000 \
|
|
||||||
--network localhost_network \
|
|
||||||
|
|
||||||
--publish 127.0.0.1:8123:8123 \
|
|
||||||
--publish 127.0.0.1:9000:9000 \
|
|
||||||
--publish 127.0.0.1:9009:9009 \
|
|
||||||
--volume $(pwd)/ch_data:/var/lib/clickhouse/ \
|
|
||||||
--volume $(pwd)/ch_logs:/var/log/clickhouse-server/ \
|
|
||||||
--volume $(pwd)/ch_config:/etc/clickhouse-server/config.d/ \
|
|
||||||
--volume $(pwd)/ch_users:/etc/clickhouse-server/users.d/ \
|
|
||||||
clickhouse/clickhouse-server
|
|
||||||
|
|
||||||
database:
|
|
||||||
container_name: e-database
|
|
||||||
image: clickhouse/clickhouse-server
|
|
||||||
restart: always
|
|
||||||
ulimits:
|
|
||||||
nofile:
|
|
||||||
soft: 262144
|
|
||||||
hard: 262144
|
|
||||||
# ports:
|
|
||||||
# - 0.0.0.0:8123:8123
|
|
||||||
volumes:
|
|
||||||
- ${DATA_DIR}/database:/var/lib/clickhouse
|
|
||||||
- ${DATA_DIR}/logs/clickhouse:/var/log/clickhouse-server
|
|
||||||
networks:
|
|
||||||
- e_net
|
|
||||||
|
|
||||||
### Установка in-memory key–value базы данных (redis)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue