From 23716285e452dd28ff55d00e511c2b1db4af2be8 Mon Sep 17 00:00:00 2001 From: Fluffy9 <29765579+Fluffy9@users.noreply.github.com> Date: Fri, 6 Dec 2024 13:34:02 -0500 Subject: [PATCH] =?UTF-8?q?Add=20=F0=9F=A6=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/storage/aliases/data.json | 1 + data/storage/raft_state.json | 1 + docker-compose.yaml | 25 +++++++++++++++++++++++++ 3 files changed, 27 insertions(+) create mode 100644 data/storage/aliases/data.json create mode 100644 data/storage/raft_state.json create mode 100644 docker-compose.yaml diff --git a/data/storage/aliases/data.json b/data/storage/aliases/data.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/data/storage/aliases/data.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/data/storage/raft_state.json b/data/storage/raft_state.json new file mode 100644 index 0000000..6b9d668 --- /dev/null +++ b/data/storage/raft_state.json @@ -0,0 +1 @@ +{"state":{"hard_state":{"term":0,"vote":0,"commit":0},"conf_state":{"voters":[7816220365180036],"learners":[],"voters_outgoing":[],"learners_next":[],"auto_leave":false}},"latest_snapshot_meta":{"term":0,"index":0},"apply_progress_queue":null,"first_voter":7816220365180036,"peer_address_by_id":{},"peer_metadata_by_id":{},"this_peer_id":7816220365180036} \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..aae17fe --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,25 @@ +--- +services: + dungeon-master: + build: . + container_name: DungeonMaster + lurkerllama: + image: pupcakes/lurkerllama:latest + container_name: LurkerLlama + volumes: + - ./data/archives:/data/archives + environment: + - OPENAI_API_KEY= + - DISCORD_API_TOKEN= + - DISCORD_CLIENT_ID= + - DISCORD_GUILD_ID= + - QDRANT_KEY= + - QDRANT_URL=http://qdrant:6333 + - AKASH_CHAT_API_KEY= + - AKASH_CHAT_API_ENDPOINT=https://chatapi.akash.network/api/v1 + - AKASH_CHAT_API_MODEL=Meta-Llama-3-1-8B-Instruct-FP8 + qdrant: + image: qdrant/qdrant:latest + container_name: qdrant + volumes: + - ./data/storage:/qdrant/storage \ No newline at end of file