Sign inSign up

skadakar/taky

By skadakar

•Updated over 2 years ago

Image
1

10K+

skadakar/taky repository overview

⁠Project

https://github.com/tkuester/taky⁠

⁠Images:

https://github.com/skadakar/taky-docker/⁠

https://hub.docker.com/r/skadakar/taky⁠

⁠Tags

Current images are built on Debian Bullseye instead of ubuntu for better single board computer support.

Latest is the newest image, potentially unstable.

Version specifics are manual builds based on pip installer with corresponding version numbers.

⁠Use

Use -u 1000:1000 to avoid running as root, make sure 1000:1000 has read/write to whatever you've mapped /data to.

Example for COT:

docker run -u 1000:1000 -e mode=cot -e bind_ip=0.0.0.0 -e public_ip=123.123.123.123 -v /root/taky-cot:/data -p 8087:8087 -p 8089:8089 -d --name taky-cot skadakar/taky:latest

Example for Data

docker run -u 1000:1000 -e mode=data -e bind_ip=0.0.0.0 -e public_ip=123.123.123.123 -v /root/taky-data:/data -p 8080:8080 -d --name taky-data skadakar/taky:latest

Example for client package generation:

docker exec taky-cot bash -c "cd /data/; takyctl -c /data/conf/taky.conf build_client --is_itak itak"
docker exec taky-cot bash -c "cd /data/; takyctl -c /data/conf/taky.conf build_client atak"

This will default to use /data/ for saving data.


⁠Supported env variables:
⁠Mode
VariableValue
Modecot/data

This lets you decide what service to start while only needing one image, adhering to taky's structure and clean docker implementation practice.

⁠TAKY
VariableType
hostnamestring
node_id
bind_ipstring
public_ipstring
redisredis connection string
⁠COT SERVER
VariableType
portnum
log_cotstring(path)
cot_logbool
mon_ipstring
mon_portnum
max_persist_ttlnum (-1 default)
⁠DATAPACKAGE SERVER
VariableType
upload_pathstring
fqdnoverridestring
⁠SSL
VariableType
ssl_enabledbool
cert_dbstring
client_cert_requiredbool
cert
key
key_pw
ca
ca_key
server_p12
server_p12_pw

⁠Non standard operators

fqdnoverride takes sub.domain.org:1234 as input, this lets you have datapackages go on custom ports and domains.

⁠Current hacks

FQDN override for datapackages should not be needed in the future

SSL/TCP for datapackages is hacked in the in start.sh for FQDN override.

Tag summary

Content type

Image

Digest

sha256:b12971f6b…

Size

280.2 MB

Last updated

over 2 years ago

docker pull skadakar/taky