mirror of
https://github.com/bigbluebutton/docker.git
synced 2024-12-28 17:48:46 +01:00
graphql-actions dev mode
This commit is contained in:
parent
7c0c55a9da
commit
56d8f768e4
1
dev.env
1
dev.env
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
# enables
|
# enables
|
||||||
# - html5: webpack dev server
|
# - html5: webpack dev server
|
||||||
|
# - bbb-grahql-actions: watch & restart
|
||||||
DEV_MODE=true
|
DEV_MODE=true
|
||||||
|
|
||||||
# accept self signed certificates
|
# accept self signed certificates
|
||||||
|
@ -295,8 +295,6 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
- apps-akka
|
- apps-akka
|
||||||
environment:
|
|
||||||
BBB_REDIS_HOST: redis
|
|
||||||
networks:
|
networks:
|
||||||
bbb-net:
|
bbb-net:
|
||||||
ipv4_address: 10.7.7.30
|
ipv4_address: 10.7.7.30
|
||||||
|
@ -18,8 +18,6 @@ RUN cd /src/dist && \
|
|||||||
# ------------------------------
|
# ------------------------------
|
||||||
FROM node:22-bookworm-slim
|
FROM node:22-bookworm-slim
|
||||||
|
|
||||||
COPY --from=builder /src/dist /app
|
|
||||||
|
|
||||||
RUN groupadd -g 2062 app \
|
RUN groupadd -g 2062 app \
|
||||||
&& useradd -m -u 2063 -g app app
|
&& useradd -m -u 2063 -g app app
|
||||||
|
|
||||||
@ -28,7 +26,9 @@ USER app
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
ENV SERVER_HOST 0.0.0.0
|
ENV SERVER_HOST 0.0.0.0
|
||||||
|
ENV BBB_REDIS_HOST redis
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
|
|
||||||
|
COPY --from=builder /src/dist /app
|
||||||
|
|
||||||
CMD [ "node", "/app/bbb-graphql-actions.js" ]
|
CMD [ "node", "/app/bbb-graphql-actions.js" ]
|
@ -11,4 +11,6 @@ ENTRYPOINT [ "/dev-entrypoint.sh" ]
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
ENV SERVER_HOST 0.0.0.0
|
ENV SERVER_HOST 0.0.0.0
|
||||||
|
ENV BBB_REDIS_HOST redis
|
||||||
|
|
||||||
CMD [ "npm install && npm start" ]
|
CMD [ "npm install && npm start" ]
|
Loading…
Reference in New Issue
Block a user