Docker Development environment (using docker-compose)
Docker-compose for development purposes.
Rename rename_to_.env
file to .env
file
Setup paths for services where they store data.
Add 127.0.0.1 *.localhost
to your /etc/hosts
To run all services (with --build
to make actual docker image)
$ docker-compose up -d --build --force-recreate
Enter to http://localhost for futher instructions
List services
$ docker-compose ps
Stop services
$ docker-compose down
To run HAPROXY
$ docker-compose up -d --build --force-recreate haproxy
To run RSYSLOG
$ docker-compose up -d --build --force-recreate rsyslog
To run NGINX
$ docker-compose up -d --build --force-recreate nginx
To run GRAFANA
$ docker-compose up -d --build --force-recreate grafana
To run MYSQL
$ docker-compose up -d --build --force-recreate mysql
To run PHPMYADMNIN
$ docker-compose up -d --build --force-recreate phpmyadmin
To run PGADMIN
$ docker-compose up -d --build --force-recreate pgadmin
To run PGSQL
$ docker-compose up -d --build --force-recreate pgsql
Add host all all all md5
to yours pg_hba.conf to access pgsql
To run REDIS
$ docker-compose up -d --build --force-recreate redis
To run INFLUXDB
$ docker-compose up -d --build --force-recreate influxdb
To run CLICKHOUSE
$ docker-compose up -d --build --force-recreate clickhouse-server
$ PASSWORD=$(base64 < /dev/urandom | head -c8); echo "$PASSWORD"; echo -n "$PASSWORD" | shasum -a 256 | tr -d '-'
=> 0eYzcsbP => 9902571f1a4f44ca13306301b73e581c567befdf6c788fe39f0f058b70ea63b6