change(docker): use step-ca for CA + cert generation

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2021-11-27 16:43:29 -08:00
parent e558e979ff
commit b98159d5b9
No known key found for this signature in database
GPG key ID: F7E46DED420788F3
10 changed files with 160 additions and 69 deletions

View file

@ -29,7 +29,16 @@ services:
image: aurweb:latest
init: true
entrypoint: /docker/ca-entrypoint.sh
command: echo
command: /docker/scripts/run-ca.sh
healthcheck:
test: "bash /docker/health/run-ca.sh"
interval: 3s
tmpfs:
- /tmp
volumes:
- ./docker:/docker
- ./data:/data
- step:/root/.step
memcached:
image: aurweb:latest
@ -261,7 +270,9 @@ services:
php-fpm:
condition: service_healthy
volumes:
- ./data:/data
- archives:/var/lib/aurweb/archives
- smartgit_run:/var/run/smartgit
sharness:
image: aurweb:latest
@ -347,3 +358,4 @@ volumes:
git_data: {} # Share aurweb/aur.git
smartgit_run: {}
archives: {}
step: {}