aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose-example.yml
diff options
context:
space:
mode:
Diffstat (limited to 'docker-compose-example.yml')
-rw-r--r--docker-compose-example.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/docker-compose-example.yml b/docker-compose-example.yml
new file mode 100644
index 0000000..b361287
--- /dev/null
+++ b/docker-compose-example.yml
@@ -0,0 +1,20 @@
+services:
+ aichat:
+ container_name: aichat
+ build:
+ context: .
+ image: aichat-dev:latest
+ stdin_open: true
+ tty: true
+ environment:
+ AICHAT_FUNCTIONS_DIR: /opt/llm-functions
+ HOME: /home/dev
+ volumes:
+ # mount host user config
+ - ./config:/home/dev/.config/aichat:rw
+ - ./llm-functions-docker:/opt/llm-functions:ro
+ # project directory
+ - ./projects:/projects:rw
+ # work directory
+ - ./work:/work:rw
+ working_dir: /work