mirror of
https://github.com/d0zingcat/deploy.git
synced 2026-05-14 07:26:43 +00:00
use test docker images and revised readme
This commit is contained in:
@@ -59,12 +59,12 @@ sudo chmod -R a+rw ./hummingbot_files ./gateway_files
|
||||
|
||||
Populate Hummingbot scripts folder with example scripts from the Hummingbot image:
|
||||
```
|
||||
docker cp hummingbot:/home/hummingbot/scripts ./hummingbot_files/scripts
|
||||
docker cp hummingbot:/home/hummingbot/scripts-copy/. ./hummingbot_files/scripts/
|
||||
```
|
||||
|
||||
Populate Gateway lists folder from token lists from the Gateway image:
|
||||
```
|
||||
docker cp gateway:/home/gateway/src/templates/lists ./gateway_files/conf/lists
|
||||
docker cp gateway:/home/gateway/src/templates/lists/. ./gateway_files/conf/lists/
|
||||
```
|
||||
|
||||
### 3. Launch Hummingbot and generate certificates
|
||||
|
||||
@@ -2,13 +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/certs:/home/hummingbot/certs"
|
||||
# environment:
|
||||
# - CONFIG_PASSWORD=[password]
|
||||
@@ -23,7 +24,7 @@ services:
|
||||
|
||||
gateway:
|
||||
container_name: gateway
|
||||
image: hummingbot/gateway:latest
|
||||
image: hummingbot/gateway:move-list
|
||||
ports:
|
||||
- "15888:15888"
|
||||
- "8080:8080"
|
||||
|
||||
@@ -53,6 +53,11 @@ sudo chmod -R a+rw ./hummingbot_files
|
||||
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"
|
||||
```
|
||||
|
||||
### 4. Launch Hummingbot
|
||||
|
||||
Attach to the `hummingbot` instance:
|
||||
|
||||
@@ -9,6 +9,7 @@ services:
|
||||
- "./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/certs:/home/hummingbot/certs"
|
||||
logging:
|
||||
driver: "json-file"
|
||||
|
||||
Reference in New Issue
Block a user