mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-22 22:21:32 +00:00
Add controller to Dockerfile
This is a temporary measure to ease development and testing. The final project will contain a separate controller.
This commit is contained in:
parent
c015727153
commit
793fc45493
@ -44,13 +44,17 @@ ENV TFW_LOGIN_APP_PORT=6666
|
|||||||
ENV TFW_TERMINADO_PORT=7878
|
ENV TFW_TERMINADO_PORT=7878
|
||||||
ENV TFW_SUPERVISOR_HTTP_PORT=9001
|
ENV TFW_SUPERVISOR_HTTP_PORT=9001
|
||||||
ENV TFW_PUBLIC_PORT=8888
|
ENV TFW_PUBLIC_PORT=8888
|
||||||
|
ENV TFW_CONTROLLER_PORT=7777
|
||||||
|
ENV TFW_CRP_LISTENER_PORT=5555
|
||||||
ENV TFW_PUBLISHER_PORT=7654
|
ENV TFW_PUBLISHER_PORT=7654
|
||||||
ENV TFW_RECEIVER_PORT=8765
|
ENV TFW_RECEIVER_PORT=8765
|
||||||
EXPOSE ${TFW_PUBLIC_PORT}
|
EXPOSE ${TFW_PUBLIC_PORT}
|
||||||
|
EXPOSE ${TFW_CRP_LISTENER_PORT}
|
||||||
|
|
||||||
ENV TFW_SUPERVISOR_HTTP_URI="http://localhost:${TFW_SUPERVISOR_HTTP_PORT}"
|
ENV TFW_SUPERVISOR_HTTP_URI="http://localhost:${TFW_SUPERVISOR_HTTP_PORT}"
|
||||||
ENV TFW_EVENT_HANDLERS_DIR="/opt/event_handlers"
|
ENV TFW_EVENT_HANDLERS_DIR="/opt/event_handlers"
|
||||||
ENV TFW_APP_DIR="/srv/app"
|
ENV TFW_APP_DIR="/srv/app"
|
||||||
|
ENV TFW_CONTROLLER_DIR="/srv/controller"
|
||||||
ENV TFW_FRONTEND_DIR="/srv/frontend"
|
ENV TFW_FRONTEND_DIR="/srv/frontend"
|
||||||
ENV TFW_LOGIN_APP_DIR="/tmp/source_code_server"
|
ENV TFW_LOGIN_APP_DIR="/tmp/source_code_server"
|
||||||
ENV TFW_TERMINADO_DIR="/tmp/terminado_server"
|
ENV TFW_TERMINADO_DIR="/tmp/terminado_server"
|
||||||
@ -76,6 +80,7 @@ COPY supervisor/supervisord.conf ${TFW_SUPERVISORD_CONF}
|
|||||||
COPY supervisor/components/ ${TFW_SUPERVISORD_COMPONENTS}
|
COPY supervisor/components/ ${TFW_SUPERVISORD_COMPONENTS}
|
||||||
COPY src/app ${TFW_APP_DIR}
|
COPY src/app ${TFW_APP_DIR}
|
||||||
COPY src/event_handlers ${TFW_EVENT_HANDLERS_DIR}
|
COPY src/event_handlers ${TFW_EVENT_HANDLERS_DIR}
|
||||||
|
COPY src/controller ${TFW_CONTROLLER_DIR}
|
||||||
|
|
||||||
RUN mv /data/dist ${TFW_FRONTEND_DIR}
|
RUN mv /data/dist ${TFW_FRONTEND_DIR}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user