use test image for simple compose

This commit is contained in:
Michael Feng
2023-06-10 10:52:09 -07:00
parent 5f69357de8
commit 77edf5618d
2 changed files with 5 additions and 9 deletions

View File

@@ -48,14 +48,10 @@ Run this command from your root folder to grant read/write permission to the `hu
sudo chmod -R a+rw ./hummingbot_files
```
### 3. Populate scripts folder with examples
### 3. Populate scripts folder with example scripts
Run this command to copy the sample scripts into the `scripts` folder. Any new scripts you add here will also be available to your `hummingbot` instance.
```
docker cp hummingbot:/home/hummingbot/scripts ./hummingbot_files/scripts
```
Now, uncommment out this line in the `docker-compose.yml` file in order to allow the Docker image to access these scripts. This step shouldn't be necessary in the future:
```
- "./hummingbot_files/scripts:/home/hummingbot/scripts"
docker cp hummingbot:/home/hummingbot/scripts-copy/. ./hummingbot_files/scripts/
```
### 4. Launch Hummingbot

View File

@@ -2,14 +2,14 @@ version: "3.9"
services:
hummingbot:
container_name: hummingbot
image: hummingbot/hummingbot:latest
image: hummingbot/hummingbot:scripts-copy
volumes:
- "./hummingbot_files/conf:/home/hummingbot/conf"
- "./hummingbot_files/conf/connectors:/home/hummingbot/conf/connectors"
- "./hummingbot_files/conf/strategies:/home/hummingbot/conf/strategies"
- "./hummingbot_files/logs:/home/hummingbot/logs"
- "./hummingbot_files/data:/home/hummingbot/data"
# - "./hummingbot_files/scripts:/home/hummingbot/scripts"
- "./hummingbot_files/scripts:/home/hummingbot/scripts"
- "./hummingbot_files/certs:/home/hummingbot/certs"
logging:
driver: "json-file"