Update: Docker with frontend

This commit is contained in:
Yûki VACHOT 2022-01-14 15:56:33 +01:00
parent 8c301c1cda
commit bb141b4bfb

View file

@ -54,20 +54,19 @@ services:
- ALLOW_ORIGIN=frontend - ALLOW_ORIGIN=frontend
- SECRET_KEY=default_secret_key - SECRET_KEY=default_secret_key
frontend:
# frontend: container_name: frontend
# container_name: frontend build: ./frontend
# build: ./frontend command: ng serve --host 0.0.0.0
# command: ng serve --host 0.0.0.0 volumes:
# volumes: - ./frontend/src:/data/frontend/
# - ./frontend/src:/data/frontend/ - ./frontend/node_modules:/data/frontend/node_modules
# - ./frontend/node_modules:/data/frontend/node_modules ports:
# ports: - "4200:4200"
# - "4200:4200" depends_on:
# depends_on: - backend
# - backend links:
# links: - backend
# - backend environment:
# environment: - NODE_ENV=development
# - NODE_ENV=development - API_URL=http://backend/api
# - API_URL=http://backend/api