Files
web/proxy/Dockerfile
Max affc8719ad Added Gitea runner, SSH through port 2222. (#18)
## 🔍 Motivation & Context

Having an SSH cloning method allows users to securely bypass the MFA of Gitea. Adding a Gitea runner allows CI/CD pipelines.

## 🔖 Related Issue

Closes #4, and #10.

##  Changes

- Added SSH port forwarding for `nginx` instance, on 2222.
- Added provisioning and deployment or one Gitea runner.
- Automatically register runner during deployment.

Reviewed-on: https://code.maximhutz.com/Infrastructure/Codebase/pulls/18
Co-authored-by: Max <git@maximhutz.me>
Co-committed-by: Max <git@maximhutz.me>
2024-08-28 03:46:40 +00:00

9 lines
285 B
Docker

FROM nginx:mainline-alpine3.20-slim
COPY . /etc/nginx
# RUN apk add python3 augeas-libs
# RUN python3 -m venv /opt/certbot/
# RUN /opt/certbot/bin/pip install --upgrade pip
# RUN /opt/certbot/bin/pip install certbot certbot-nginx
# RUN ln -s /opt/certbot/bin/certbot /usr/bin/certbot