51 lines
1.6 KiB
YAML
51 lines
1.6 KiB
YAML
services:
|
|
ws_binance:
|
|
container_name: ws_binance
|
|
restart: "unless-stopped"
|
|
build:
|
|
context: ./
|
|
dockerfile: ./ws_binance/Dockerfile
|
|
volumes:
|
|
- /home/ubuntu/data:/home/ubuntu/data:rw # Read-write access to data
|
|
- /home/ubuntu/logs:/home/ubuntu/logs:rw # Read-write access to data
|
|
network_mode: "host"
|
|
ws_clob:
|
|
container_name: ws_clob
|
|
restart: "unless-stopped"
|
|
build:
|
|
context: ./
|
|
dockerfile: ./ws_clob/Dockerfile
|
|
volumes:
|
|
- /home/ubuntu/data:/home/ubuntu/data:rw # Read-write access to data
|
|
- /home/ubuntu/logs:/home/ubuntu/logs:rw # Read-write access to data
|
|
network_mode: "host"
|
|
ws_rtds:
|
|
container_name: ws_rtds
|
|
restart: "unless-stopped"
|
|
build:
|
|
context: ./
|
|
dockerfile: ./ws_rtds/Dockerfile
|
|
volumes:
|
|
- /home/ubuntu/data:/home/ubuntu/data:rw # Read-write access to data
|
|
- /home/ubuntu/logs:/home/ubuntu/logs:rw # Read-write access to data
|
|
network_mode: "host"
|
|
ws_user:
|
|
container_name: ws_user
|
|
restart: "unless-stopped"
|
|
build:
|
|
context: ./
|
|
dockerfile: ./ws_user/Dockerfile
|
|
volumes:
|
|
- /home/ubuntu/data:/home/ubuntu/data:rw # Read-write access to data
|
|
- /home/ubuntu/logs:/home/ubuntu/logs:rw # Read-write access to data
|
|
network_mode: "host"
|
|
ng:
|
|
container_name: ng
|
|
restart: "unless-stopped"
|
|
build:
|
|
context: ./
|
|
dockerfile: ./ng/Dockerfile
|
|
volumes:
|
|
- /home/ubuntu/data:/home/ubuntu/data:rw # Read-write access to data
|
|
- /home/ubuntu/logs:/home/ubuntu/logs:rw # Read-write access to data
|
|
network_mode: "host" |