version: "3" tasks: forgejo-add-cert: desc: Add caddy local root ca to forgejo container cmds: - sudo docker cp ${BASE_DIR}/proxy/data/caddy/pki/authorities/local/root.crt forgejo:/usr/local/share/ca-certificates/caddy-root.crt - docker exec forgejo update-ca-certificates woodpecker-add-cert: desc: Add caddy local root ca to woodpecker container cmds: - sudo docker cp ${BASE_DIR}/proxy/data/caddy/pki/authorities/local/root.crt woodpecker:/usr/local/share/ca-certificates/caddy-root.crt - docker exec woodpecker update-ca-certificates nextcloud-add-cert: desc: Add caddy local root ca to nextcloud container cmds: - sudo docker cp ${BASE_DIR}/proxy/data/caddy/pki/authorities/local/root.crt nextcloud:/usr/local/share/ca-certificates/caddy-root.crt - docker exec nextcloud update-ca-certificates