confluence
sudo mkdir -p /data/docker/confluence/var
docker run --name hs-confluence -p 8090:8090 --privileged=true -v /data/docker/confluence/var:/var/atlassian/confluence --user root:root -d atlassian/confluence-server:latest
es
docker run -d --name elasticsearch --net es-kibana -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" elasticsearch:6.8.7
filebrowser
sudo mkdir -p /data/docker/filebrowser/srv
sudo touch /data/docker/filebrowser/config.json
sudo touch /data/docker/filebrowser/database.db
docker run --name filebrowser -d -v /data/docker/filebrowser/srv:/srv -v /data/docker/filebrowser/config.json:/etc/config.json -v /data/docker/filebrowser/database.db:/etc/database.db -p 8090:80 filebrowser/filebrowser
gitlab
sudo mkdir -p /data/docker/gitlab/etc
sudo mkdir -p /data/docker/gitlab/log
sudo mkdir -p /data/docker/gitlab/data
docker run
--detach
--publish 8443:443
--publish 8090:80
--restart unless-stopped
--name hs-gitlab
-v /data/docker/gitlab/etc:/etc/gitlab
-v /data/docker/gitlab/log:/var/log/gitlab
-v /data/docker/gitlab/data:/var/opt/gitlab
beginor/gitlab-ce:11.3.0-ce.0
kafka-manager
docker run --name kafka-manager --link hs-zookeeper:zk --link hs-kafka:kafka -e ZK_HOSTS=zk:2181 -p 9000:9000 -d docker.io/sheepkiller/kafka-manager:latest
kafka
sudo mkdir -p /data/docker/kafka/logs
sudo mkdir -p /data/docker/kafka/run
sudo touch /data/docker/kafka/run/docker.sock
docker run --name hs-kafka --privileged=true -v /data/docker/kafka/logs:/kafka -v /data/docker/kafka/run/docker.sock:/var/run/docker.sock --link zookeeper:zk -e KAFKA_ZOOKEEPER_CONNECT="zk:2181" -e KAFKA_ADVERTISED_HOST_NAME=localhost -e KAFKA_ADVERTISED_PORT=9092 -p 9092:9092 -d docker.io/wurstmeister/kafka:latest
kibana
docker run -d --name kibana --net es-kibana -p 5601:5601 kibana:6.8.7
mysql
sudo mkdir -p /data/docker/mysql/conf
sudo mkdir -p /data/docker/mysql/logs
sudo mkdir -p /data/docker/mysql/data
docker run --name mysql8 --privileged=true -v /data/docker/mysql/conf:/etc/mysql/conf.d -v /data/docker/mysql/logs:/logs -v /data/docker/mysql/data:/var/lib/mysql -p 53306:3306 -e MYSQL_ROOT_PASSWORD=root -d docker.io/mysql:8.0.19
# mac
sudo mkdir -p ~/data/docker/mysql/conf ;
sudo mkdir -p ~/data/docker/mysql/logs ;
sudo mkdir -p ~/data/docker/mysql/data;
docker run --name mysql8 --privileged=true -v ~/data/docker/mysql/conf:/etc/mysql/conf.d -v ~/data/docker/mysql/logs:/logs -v ~/data/docker/mysql/data:/var/lib/mysql -p 53306:3306 -e MYSQL_ROOT_PASSWORD=root -d mysql:8.0
nginx
sudo mkdir -p /data/docker/nginx/www
sudo mkdir -p /data/docker/nginx/conf
sudo touch /data/docker/nginx/conf/nginx.conf
sudo mkdir -p /data/docker/nginx/logs
docker run --name nginx --privileged=true -p 80:80 -v /data/docker/nginx/www:/usr/share/nginx/html -v /data/docker/nginx/conf/nginx.conf:/etc/nginx/nginx.conf -v /data/docker/nginx/logs:/var/log/nginx -d docker.io/nginx:1.17.9
postgresql
sudo mkdir -p /date/docker/postgresql/data
docker run --name hs-postgresql --privileged=true -v /date/docker/postgresql/data:/var/lib/postgresql/data -e POSTGRES_PASSWORD=root -p 55432:5432 -d docker.io/postgres:12.1
zookeeper
sudo mkdir -p /data/docker/zookeeper/data
sudo mkdir -p /data/docker/zookeeper/conf
sudo touch /data/docker/zookeeper/conf/zoo.cfg
docker run --name hs-zookeeper --privileged=true -p 2181:2181 -v /data/docker/zookeeper/data:/opt/zookeeper-3.4.13/data -v /data/docker/zookeeper/conf:/opt/zookeeper-3.4.13/conf -v /data/docker/zookeeper/conf/zoo.cfg:/opt/zookeeper-3.4.13/conf/zoo.cfg -d docker.io/wurstmeister/zookeeper:latest
mkdir docker;
cd docker;
mkdir mysql;
mkdir nginx;
mkdir kafka;
mkdir zookeeper;
mkdir confuence;
mkdir elasticsearch;
mkdir filebrower;
mkdir gitlab;
mkdir kafka-manager;
mkdir kibana;