通过 Docker搭建一个小而美的网站流量监控——Umami创建对应的目录123cd ~mkdir -p ~/data/docker_data/umamicd ~/data/docker_data/umami
编写docker-compose配置文件1vim docker-compose.yml
12345678910111213141516171819202122232425---version: '3'services: umami: image: ghcr.io/mikecao/umami:postgresql-latest ports: - "3000:3000" environment: DATABASE_URL: postgresql://umami:umami@db:5432/umami # 这里的数据库和密码要和下方你修改的相同 DATABASE_TYPE: postgresql HASH_SALT: replace-me-with-a-random-string ...
通过 Docker Compose 搭建 Kafka 单机版docker-compose-single-kafka.yml12345678910111213141516171819202122232425262728293031version: '2'services: zookeeper: image: wurstmeister/zookeeper container_name: "zk-kafka" ports: - "2181:2181" kafka: image: wurstmeister/kafka container_name: "kafka-single" ports: - "9092:9092" environment: # client 要访问的 broker 地址 KAFKA_ADVERTISED_HOST_NAME: 127.0.0.1 # 通过端口连接 zookeepe ...
通过 Docker Compose 搭建 ClickHouse 单机版docker-compose-single-clickhouse.yml1234567891011121314151617181920212223242526version: '3'services: clickhouse: image: yandex/clickhouse-server container_name: clickhouse restart: always networks: - deng ports: - "8123:8123" - "9000:9000" volumes: # 默认配置 - ./data/config/docker_related_config.xml:/etc/clickhouse-server/config.d/docker_related_config.xml:rw - ./data/config/config.xml: ...
Centos 7.9 安装 Docker1. 卸载之前安装的 Docker 版本1234567891011yum remove docker \ docker-client \ docker-client-latest \ docker-common \ docker-latest \ docker-latest-logrotate \ docker-logrotate \ docker-selinux \ docker-engine-selinux \ docker-engine \ docker-ce
2. 安装 Docker2.1 安装 yum 相关依赖123yum install -y yum-utils \ device- ...