feat(rag): hybrid FTS+vector retrieval and multi-format ingestion — name-your-tool questions find the right document
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
# gitlab stack — single container + gitlab-data volume
|
||||
services:
|
||||
gitlab:
|
||||
image: gitlab/gitlab-ce:17.2.1-ce.0
|
||||
container_name: gitlab
|
||||
restart: unless-stopped
|
||||
hostname: "gitlab.reeseapps.com"
|
||||
environment:
|
||||
GITLAB_OMNIBUS_CONFIG: |
|
||||
external_url 'https://gitlab.reeseapps.com'
|
||||
gitlab_rails['gitlab_shell_ssh_port'] = 2222
|
||||
ports:
|
||||
- "8929:80"
|
||||
- "2222:22"
|
||||
volumes:
|
||||
- gitlab-data:/var/opt/gitlab
|
||||
shm_size: "256m"
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 4G
|
||||
|
||||
volumes:
|
||||
gitlab-data:
|
||||
@@ -0,0 +1,27 @@
|
||||
# Gitlab
|
||||
|
||||
Gitlab CE runs as a single Docker container on the `gitlab` host
|
||||
(`10.0.1.14`), managed by Ansible (`deployments/gitlab/`).
|
||||
|
||||
## Install
|
||||
|
||||
1. Install Docker and the compose plugin on the host.
|
||||
2. Create the `gitlab-data` volume: `docker volume create gitlab-data`.
|
||||
3. Run the stack from `gitlab-compose.yaml`:
|
||||
`docker compose -f gitlab-compose.yaml up -d`
|
||||
4. Wait ~2 minutes for the initial gitlab migration to finish.
|
||||
|
||||
## Access
|
||||
|
||||
- Web UI: https://gitlab.reeseapps.com (Traefik routes it to port 8929).
|
||||
- Root password: `gitlab-root-password` file in the repo (rotated yearly).
|
||||
- Backup: nightly `gitlab-backup create` at 03:30, copy to BorgBase.
|
||||
|
||||
## Operations
|
||||
|
||||
- Upgrade gitlab: bump the image tag in the compose file,
|
||||
`docker compose up -d gitlab`, watch the logs for the version banner.
|
||||
- Logs: `docker logs -f gitlab` or the gitlab admin area → Admin
|
||||
area → Logs.
|
||||
- If the container is OOM-killed, raise the memory limit in the compose
|
||||
file (it needs 4GB free).
|
||||
Reference in New Issue
Block a user