init
This commit is contained in:
17
ticktalk/docker/kdc/Dockerfile
Executable file
17
ticktalk/docker/kdc/Dockerfile
Executable 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
17
ticktalk/docker/kdc/config.json
Executable 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
BIN
ticktalk/docker/kdc/kerberos_kdc
Executable file
Binary file not shown.
Reference in New Issue
Block a user