feat: API_BASE configurable par build arg + DB dev

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Nicolas Fryder 2026-06-27 14:30:08 +02:00
parent 6c00ee2251
commit f88ec44af0
2 changed files with 4 additions and 0 deletions

View file

@ -1,2 +1,4 @@
FROM nginx:alpine
ARG API_BASE=https://bm.nicolasfryder.ovh
COPY site/ /usr/share/nginx/html
RUN sed -i "s|https://bm.nicolasfryder.ovh|${API_BASE}|g" /usr/share/nginx/html/app.js

View file

@ -68,6 +68,8 @@ services:
web:
build:
context: apps/web
args:
API_BASE: https://dev-api.bm.nicolasfryder.ovh
networks:
- coolify
labels: