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 9f6fea4492
commit 781382dc65
2 changed files with 4 additions and 0 deletions

View file

@ -1,2 +1,4 @@
FROM nginx:alpine FROM nginx:alpine
ARG API_BASE=https://bm.nicolasfryder.ovh
COPY site/ /usr/share/nginx/html 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: web:
build: build:
context: apps/web context: apps/web
args:
API_BASE: https://dev-api.bm.nicolasfryder.ovh
networks: networks:
- coolify - coolify
labels: labels: