Skip to content

Instantly share code, notes, and snippets.

@namhoai
namhoai / deploy_gitlab_using_docker.md
Created February 9, 2023 02:48 — forked from DevoKun/deploy_gitlab_using_docker.md
Deploy GitLab using Docker

PostgreSQL and Redis

  • Gitlab CE uses Redis to store user sessions and a task queue.
  • GitLab CE uses PostgreSQL as its database back end.

Start PostgreSQL Docker Container

docker run -d --name postgresql \
@namhoai
namhoai / kafka.md
Created February 9, 2023 02:46 — forked from kim-hyunjin/kafka.md
How to operate Kafka, mostly using Docker

Kafka Distributed Streaming Platform

Publish and Subscribe / Process / Store

Start Kafka

  • Kafka uses ZooKeeper as a distributed backend.

Start Zookeeper

@namhoai
namhoai / 2019-https-localhost.md
Created June 16, 2021 02:39 — forked from cecilemuller/2019-https-localhost.md
How to create an HTTPS certificate for localhost domains

How to create an HTTPS certificate for localhost domains

This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.

Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).