Updating Docker to Dev‐2.x - BlueSkyTools/BlueSkyConnect GitHub Wiki
You may want to upgrade this to the Dev-2.x branch - currently at 2.5.0 it has certain improvements over the release version 2.3.2.
The main instructions for setting up a Docker image are here:
[docker/README.md] (https://github.com/BlueSkyTools/BlueSkyConnect/blob/master/docker/README.md)
Updating the release Docker to the Dev version is not difficult but there are certain discrepancies in the setup:
1) Update the image by pulling the dev branch version:
docker pull sphen/bluesky:dev2xx
2) Remove Bluesky
docker rm -f bluesky
3) issue the docker run command you originally used to build your specific container - noting these changes related to the dev2xx branch and port 3122
docker run -d --name bluesky \
--link bluesky_db:db \
-e SERVERFQDN=bluesky.example.com \
-e WEBADMINPASS=examplePASSWORD \
-v /var/docker/bluesky/certs:/certs \
-v /var/docker/bluesky/admin.ssh:/home/admin/.ssh \
-v /var/docker/bluesky/bluesky.ssh:/home/bluesky/.ssh \
--cap-add=NET_ADMIN \
-p 3122:3122 \
--restart always \
sphen/bluesky:dev2xx
4) Now don't forget to redo Caddy:
First remove Caddy:
docker rm -f caddy
5) Then run Caddy again:
docker run -d --name caddy \
-p 80:80 \
-p 443:443 \
-e ACME_AGREE=true \
--link bluesky:bluesky \
-v /var/docker/caddy/Caddyfile:/etc/Caddyfile \
-v /var/docker/caddy:/root/.caddy \
--restart always \
abiosoft/caddy