container-server/tasks/dev.yml

21 lines
868 B
YAML
Raw Normal View History

version: "3"
tasks:
2023-02-18 15:25:31 +01:00
forgejo-add-cert:
desc: Add caddy local root ca to forgejo container
cmds:
2023-02-18 15:25:31 +01:00
- 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
2023-02-18 15:25:31 +01:00
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
2023-06-27 23:38:10 +02:00
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