POZHAN/POOR SITE
Knowledge / Article
2026.08.02

Docker Infrastructure on ZSpace

Docker/GitLab/Homelab

Building a self-hosted development and deployment environment on ZSpace NAS.

POZHAN runs on infrastructure hosted on my own NAS.

The goal is not simply self-hosting for its own sake. The useful part is having a complete environment for experimenting with software delivery.

Current stack

  • GitLab
  • GitLab Runner
  • Container Registry
  • PostgreSQL
  • Redis
  • Cloudflare Tunnel
  • Docker Compose

The site itself is built and deployed through this infrastructure.

GitLab Runner

The runner uses the Docker executor and communicates with the host Docker daemon.

services:
  gitlab-runner:
    image: gitlab/gitlab-runner:latest
    restart: unless-stopped
 
    volumes:
      - ./config:/etc/gitlab-runner
      - /var/run/docker.sock:/var/run/docker.sock
 
    networks:
      - zspace-net

Docker Socket

...

Runner network

...

Registry paths

PurposeEndpoint
Public registryregistry.pozhan.net
Internal CI registry192.168.50.10:5050
GitLabgit.pozhan.net

The important distinction is that CI traffic should stay inside the LAN whenever possible.

Public access and internal delivery do not need to use the same network path.

For more information, see Docker.