Skip to content

Commit 277cdae

Browse files
committed
Include gen ai on docker compose.
1 parent 80e7b73 commit 277cdae

3 files changed

Lines changed: 22 additions & 5 deletions

File tree

compose/.env-template

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,8 @@ SSL_COLLAB_KEY=ssl-collab.key
4545
SSL_INTEL_CERT=ssl-intel.crt
4646
SSL_INTEL_KEY=ssl-intel.key
4747

48-
DHPARAM_PEM=dhparam.pem
48+
DHPARAM_PEM=dhparam.pem
49+
50+
# Uncomment the following lines to enable AI integration with Ollama
51+
#CT_HQ_OLLAMA_AI_URL=http://codetogether-llm:8000
52+
#CT_HQ_OLLAMA_AI_MODEL_NAME=gemma3:1b

compose/cassandra-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ seed_provider:
463463
parameters:
464464
# seeds is actually a comma-delimited list of addresses.
465465
# Ex: "<ip1>,<ip2>,<ip3>"
466-
- seeds: "172.26.0.2"
466+
- seeds: "172.18.0.2"
467467

468468
# For workloads with more data than can fit in memory, Cassandra's
469469
# bottleneck will be reads that need to fetch data from
@@ -663,7 +663,7 @@ ssl_storage_port: 7001
663663
#
664664
# Setting listen_address to 0.0.0.0 is always wrong.
665665
#
666-
listen_address: 172.26.0.2
666+
listen_address: 172.18.0.2
667667

668668
# Set listen_address OR listen_interface, not both. Interfaces must correspond
669669
# to a single address, IP aliasing is not supported.
@@ -677,7 +677,7 @@ listen_address: 172.26.0.2
677677

678678
# Address to broadcast to other Cassandra nodes
679679
# Leaving this blank will set it to the same value as listen_address
680-
broadcast_address: 172.26.0.2
680+
broadcast_address: 172.18.0.2
681681

682682
# When using multiple physical network interfaces, set this
683683
# to true to listen on broadcast_address in addition to
@@ -763,7 +763,7 @@ rpc_address: 0.0.0.0
763763
# be set to 0.0.0.0. If left blank, this will be set to the value of
764764
# rpc_address. If rpc_address is set to 0.0.0.0, broadcast_rpc_address must
765765
# be set.
766-
broadcast_rpc_address: 172.26.0.2
766+
broadcast_rpc_address: 172.18.0.2
767767

768768
# enable or disable keepalive on rpc/native connections
769769
rpc_keepalive: true

compose/compose.ai.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# 👇 Rename `.env-template` to `.env` before running this file
2+
# Set the appropriate values once renamed
3+
services:
4+
ai:
5+
image: hub.edge.codetogether.com/releases/codetogether-llm:latest
6+
container_name: codetogether-llm
7+
ports:
8+
- "8000:8000"
9+
networks:
10+
- codetogethernet
11+
depends_on:
12+
codetogether-intel:
13+
condition: service_healthy

0 commit comments

Comments
 (0)