Open Thetermin4tor opened 2 months ago
The canonical way of doing this using docker is to just set the config as enviroment variables, as mentioned on the Readme:
You can pass enviroments variables to docker with -e <VARIABLE>=<value>. e.g docker run -e ANTHROPIC_API_KEY=<your-anthropic-api-key> -v ~/.commune:/root/.commune -it ghcr.io/agicommies/synthia:33b8ed8
If you'd like, you can also map your local config file to the docker container, like it's done for your keys. It would look something like this:
docker run -v ~/.commune:/root/.commune -v ./config:/app/config -it ghcr.io/agicommies/synthia:33b8ed8
Describe the bug
Every time i set up a new miner with docker run there is no config.env Folder anymore or even env/. I followed the Github steps even tho there is the tutorial now.
To Reproduce
Steps to reproduce the behavior
apt update apt install python3-pip pip install communex --upgrade apt install docker.io docker pull ghcr.io/agicommies/synthia:33b8ed8 docker run -v ~/.commune:/root/.commune -it -p 8000:8000 ghcr.io/agicommies/synthia:33b8ed8 poetry install poetry shell
Expected behavior
cd /app ls --then i would like to see the Config.env or the /env file but i dont so i cant fullfill setting up the variabels![synthia](https://github.com/agicommies/synthia/assets/151878155/6f6e4215-1766-43ff-983d-4b674360db89)
Specs