feat(docker): expose cgit-{php,fastapi} on {13000,13001}

This change exposes the uwsgi daemon we use for cgit on:

- PHP: docker-host:13000
- FastAPI: docker-host:13001

These ports can then be used to take advantage of cgit on
a production server that hosts nginx in front of Docker.

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2021-10-20 17:33:25 -07:00
parent db730ad8cb
commit 0b1c3ea539
No known key found for this signature in database
GPG key ID: F7E46DED420788F3

View file

@ -96,6 +96,8 @@ services:
depends_on:
git:
condition: service_healthy
ports:
- "13000:3000"
volumes:
- git_data:/aurweb/aur.git
@ -112,6 +114,8 @@ services:
depends_on:
git:
condition: service_healthy
ports:
- "13001:3000"
volumes:
- git_data:/aurweb/aur.git