feat: API_BASE configurable par build arg + DB dev
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
6c00ee2251
commit
f88ec44af0
2 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue