Hi Florian,
I have just tried to customize our r-udf-server using the /customizer workflow.
I have the base r-udf-service running on port 5555
I went into /customizer/docker-compose.yml and changed the container_name: to r-udf-bfast.
Everything else I left as it is in the dev branch currently and ran in /customizer: docker-compose up -d.
I got an error:
ERROR: Named volume "libraries.json:/opt/..." is used in service "r-udf-child-service" but no declaration was found in the volumes section.
I added to the end of the docker-compose.yml
volumes:
libraries.json:
I ran docker-compose up -d again.
I got an error:
Error for r-udf-bfast Cannot start sevice r-udf-child-service: driver failed programming external connectivity on endpoint r-udf-bfast (asdfaf...): Bind for 0.0.0.0:5555 failed: port is already allocated.
I stopped the normal container via docker stop r-udf-service
I started the customized r-udf-bfast again via docker-compose up -d in the /customizer directory.
It started.
But: When I checked the ip:5555/packages in the browser I got an 404.
I restarted the base udf-service. In /customizer/docker-compose.yml I changed the port to:
ports:
- "5556:5556"
Then restarted the r-udf-bfast container. It runs.
But: I cant access ip:5556/packages
Could you help me out?
Could we can update the explanation in the readme? As a non expert docker user I tried quite some things and failed ;)
Does the docker-compose.yml in /customizer need the part:
For now I have installed bfast in the r-udf-server like this:
docker exec <dockername> R -e "install.packages('bfast',repos='https://cran.rstudio.com/')"
It is also recognized by the /packages endpoint.
Hi Florian, I have just tried to customize our r-udf-server using the /customizer workflow. I have the base r-udf-service running on port 5555 I went into /customizer/docker-compose.yml and changed the container_name: to r-udf-bfast. Everything else I left as it is in the dev branch currently and ran in /customizer:
docker-compose up -d
. I got an error:I added to the end of the docker-compose.yml
I ran
docker-compose up -d
again. I got an error:I stopped the normal container via
docker stop r-udf-service
I started the customized r-udf-bfast again viadocker-compose up -d
in the /customizer directory. It started.But: When I checked the ip:5555/packages in the browser I got an 404.
I restarted the base udf-service. In /customizer/docker-compose.yml I changed the port to:
Then restarted the r-udf-bfast container. It runs. But: I cant access ip:5556/packages