Skip to content
Snippets Groups Projects
Commit 16f313f7 authored by Gilles ROBIN's avatar Gilles ROBIN
Browse files

Ajout url dans compose

parent c9a53b85
Branches
Tags
No related merge requests found
...@@ -9,4 +9,5 @@ SERVER_PORT=81 ...@@ -9,4 +9,5 @@ SERVER_PORT=81
###> nodejs ### ###> nodejs ###
NODE_IMAGE=node:lts-slim NODE_IMAGE=node:lts-slim
NODE_PORT=80 NODE_PORT=80
VITE_API_URL=http://localhost:81
### nodejs ### ### nodejs ###
\ No newline at end of file
...@@ -20,6 +20,8 @@ services: ...@@ -20,6 +20,8 @@ services:
extends: extends:
file: ../services/nodejs.yaml file: ../services/nodejs.yaml
service: nodejs service: nodejs
environment:
- VITE_API_URL=${VITE_API_URL:-http://localhost:81}
volumes: volumes:
- '../../smile-plus-frontend/:/home/node/app:rw' - '../../smile-plus-frontend/:/home/node/app:rw'
ports: ports:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment