This commit is contained in:
root
2025-12-14 10:39:18 +03:00
commit 639f4e2b4e
179 changed files with 21065 additions and 0 deletions

17
ticktalk/docker/kdc/Dockerfile Executable file
View File

@@ -0,0 +1,17 @@
FROM ubuntu:24.04
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
g++ \
libssl-dev \
libboost-system-dev \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY . /app/
RUN mkdir -p /var/log && mkdir -p /app/data
EXPOSE 88
CMD ["./kerberos_kdc"]

17
ticktalk/docker/kdc/config.json Executable file
View File

@@ -0,0 +1,17 @@
{
"kdc": {
"port": 88,
"thread_pool_size": 10,
"realm": "TICKTALK.LOCAL",
"team_id": "2",
"principals_file": "/app/data/principals.json",
"krbtgt_key_file": "/app/data/krbtgt_key.txt"
},
"redis": {
"host": "redis",
"port": 6379
},
"logging": {
"levels": "INFO,WARNING,ERROR,DEBUG"
}
}

BIN
ticktalk/docker/kdc/kerberos_kdc Executable file

Binary file not shown.