summaryrefslogtreecommitdiff
path: root/docker-compose.example.yml
blob: fefc6f41bf9d61c84665be83c4f697ee0f5153c5 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
version: '3.7'

services:
  nano-bots:
    image: ruby:3.2.2-slim-bullseye
    command: sh -c "apt-get update && apt-get install -y --no-install-recommends build-essential libffi-dev lua5.4-dev && gem install nano-bots -v 0.0.7 && bash"
    environment:
      OPENAI_API_ADDRESS: https://api.openai.com
      OPENAI_API_ACCESS_TOKEN: your-token
      OPENAI_API_USER_IDENTIFIER: your-user
    volumes:
      - ./your-cartridges:/cartridges
      # - ./your-data:/data