feat: automatic deploy system (poll+deploy docker stack on Unraid)

- deployer container polls git, builds api/worker/web, runs migrations+seed,
  starts ff-api/ff-worker/ff-web + nginx TLS reverse proxy against external
  Postgres (10.0.0.15)
- Dockerfile.web: drop missing packages/ui package, add NEXT_PUBLIC_API_URL arg
- add root .dockerignore (build context cleanup)
This commit is contained in:
Pepe44DEV
2026-09-06 22:44:25 +00:00
parent db16ad5cc1
commit daab1a6b88
6 changed files with 297 additions and 2 deletions
+18
View File
@@ -0,0 +1,18 @@
FROM alpine:3.21
RUN apk add --no-cache \
docker-cli \
git \
bash \
openssl \
curl \
coreutils \
findutils \
ca-certificates \
tzdata
COPY deploy.sh /usr/local/bin/deploy.sh
COPY nginx.conf /etc/fleetforge/nginx.conf
RUN chmod +x /usr/local/bin/deploy.sh
ENTRYPOINT ["/usr/local/bin/deploy.sh"]