Did you get this working again, @Hyperbytes?
I run into some issues trying to deploy to a DigitalOcean Droplet from two different machines.
So the setup is like so: I have W10 machine that I use mostly for Wappler dev work. This pushes a Wappler test project to my DO droplet just fine. However, I’d like to be able to deploy from my Macbook Pro, as well. To do some dev work on the road.
I use the Wappler github integration to make sure I have all the files on my MBP. I exported on the w10 machine and imported the docker machine keys ont the mac with this tool:
https://medium.com/@cweinberger/docker-machine-export-and-import-34ae2899e9d7
I did notice that in the target folder on the mac, the db_init folder was missing. I added that manually.
Now when I try to deploy to the local docker from the mac, it works fine. However, trying to deploy to the droplet I get an error:
Building web
Sending build context to Docker daemon 7.014MB
Step 1/4 : FROM wapplerio/node-12
---> 7f4100422308
Step 2/4 : COPY ./ /opt/node_app/
---> Using cache
---> e7db6f2a6ba8
Step 3/4 : WORKDIR /opt/node_app
---> Using cache
---> 5973c27ad359
Step 4/4 : RUN npm install --no-optional --production
---> Using cache
---> a208818dfbae
Successfully built a208818dfbae
Successfully tagged do_test_102__staging_web:latest
Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
Recreating 0834eaa828d9_do_test_102__staging_db_1 ...
Recreating 0834eaa828d9_do_test_102__staging_db_1 ... error
ERROR: for 0834eaa828d9_do_test_102__staging_db_1 Cannot start service db: driver failed programming external connectivity on endpoint do_test_102__staging_db_1 (0d1d8eaf5691b877f3e65ac8100f6bec65757a5683b76b9aa228bae86444b6cd): Bind for 0.0.0.0:9906 failed: port is already allocated
ERROR: for db Cannot start service db: driver failed programming external connectivity on endpoint do_test_102__staging_db_1 (0d1d8eaf5691b877f3e65ac8100f6bec65757a5683b76b9aa228bae86444b6cd): Bind for 0.0.0.0:9906 failed: port is already allocated
ERROR: Encountered errors while bringing up the project.
Error Launching Services!
Does anyone have any advice on how to access a DO droplet for deployment from two different machines?
Thanks in advance for anyone willing to chime in.
Last updated: