Hello,
I have a docker-compose file as this:
version: "3"
services:
demonstrator-dynamic-2-0:
container_name: demonstrator-dynamic-2-0
build:
context: ./
dockerfile: Dockerfile.demonstration
ulimits:
nproc: 65535
nofile:
soft: 20000
hard: 40000
volumes:
- C:\Users\AK125163\Desktop\zanosh1-dockerized\shared_files\plots:/zanosh1/plots
- type: bind
source: C:\Users\AK125163\Desktop\zanosh1-dockerized\shared_files\txt_outputs.txt
target: /zanosh1/txt_outputs.txt
- type: bind
source: C:\Users\AK125163\Desktop\zanosh1-dockerized\zanosh1_app\masterfile_instant_part.csv
target: /zanosh1/masterfile_instant_part.csv
# network_mode: host
privileged: true
restart: unless-stopped
consolid:
container_name: consolid2
build:
context: .
dockerfile: Dockerfile.consolid
ports:
- "8050:8050"
ulimits:
nproc: 65535
nofile:
soft: 20000
hard: 40000
volumes:
- C:\Users\AK125163\Desktop\zanosh1-dockerized\shared_files\plots:/zanosh1/plots
- type: bind
source: C:\Users\AK125163\Desktop\zanosh1-dockerized\shared_files\txt_outputs.txt
target: /zanosh1/txt_outputs.txt
- type: bind
source: C:\Users\AK125163\Desktop\zanosh1-dockerized\zanosh1_app\masterfile_instant_part.csv
target: /zanosh1/masterfile_instant_part.csv
# network_mode: host
privileged: true
restart: unless-stopped
I use this to excute first script and run the dashboard: consolid
docker exec -it demonstrator-dynamic-2-0 bash
cp digested/excel/Record_2021-09-08_12-11-20.csv excel
How can I use curl command to send data to docker ?