Fix angular (#14)

Co-authored-by: Sieciech <www.sieciech@gmail.com>
Reviewed-on: http://git.fufle.net/Community/CureNet/pulls/14
Co-Authored-By: Sieciech <sieciech@noreply.fufle.net>
Co-Committed-By: Sieciech <sieciech@noreply.fufle.net>
This commit is contained in:
Michał Sieciechowicz 2021-07-23 19:21:40 +00:00
parent 3fbd6d5b50
commit c7f4e68a06
3 changed files with 8 additions and 3 deletions

View File

@ -43,7 +43,7 @@ VOLUME /web/backend/vendor
VOLUME /web/backend/var VOLUME /web/backend/var
VOLUME /web/frontend/node_modules VOLUME /web/frontend/node_modules
EXPOSE 7700 7780 7781 EXPOSE 7700 7780 7781 49153
STOPSIGNAL SIGQUIT STOPSIGNAL SIGQUIT

View File

@ -4,13 +4,18 @@ services:
build: . build: .
ports: ports:
- 7700:7700 - 7700:7700
- 49153:49153
expose: expose:
- 7780:7780 - 7780:7780
- 7781:7781 - 7781:7781
volumes: volumes:
- .:/web/config - .:/web/config
- ../src/backend:/web/backend:cached - ../src/backend:/web/backend:cached
- ../src/frontend:/web/frontend:cached - type: bind
target: /web/frontend
source: ../src/frontend
volume:
nocopy: true
- ./logs:/var/log - ./logs:/var/log
- vendor:/web/backend/vendor - vendor:/web/backend/vendor
- var:/web/backend/var - var:/web/backend/var

View File

@ -42,4 +42,4 @@ echo "> Configure angular"
npm ci npm ci
echo "> Starting angular" echo "> Starting angular"
ng serve ng serve --disable-host-check --host 0.0.0.0 --poll