diff --git a/ente/Dockerfile b/ente/Dockerfile index 141e800eed..bc317c13dd 100644 --- a/ente/Dockerfile +++ b/ente/Dockerfile @@ -43,6 +43,11 @@ RUN npm run build:albums RUN npm run build:accounts RUN npm run build:auth RUN npm run build:cast +RUN npm run build:share +RUN npm run build:embed +RUN npm run build:paste +RUN npm run build:locker +RUN npm run build:memories ################# # 1) Base image # @@ -90,6 +95,11 @@ COPY --from=web-builder /src/web/apps/albums/out /www/albums COPY --from=web-builder /src/web/apps/accounts/out /www/accounts COPY --from=web-builder /src/web/apps/auth/out /www/auth COPY --from=web-builder /src/web/apps/cast/out /www/cast +COPY --from=web-builder /src/web/apps/share/out /www/share +COPY --from=web-builder /src/web/apps/embed/out /www/embed +COPY --from=web-builder /src/web/apps/paste/out /www/paste +COPY --from=web-builder /src/web/apps/locker/out /www/locker +COPY --from=web-builder /src/web/apps/memories/out /www/memories ############################ # 3) Install add-on helpers # @@ -144,4 +154,4 @@ LABEL \ ################# # 6) Finish line ################# -EXPOSE 3000 3001 3002 3003 3004 +EXPOSE 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 diff --git a/ente/config.yaml b/ente/config.yaml index 48c6f2fc54..8150e7683f 100644 --- a/ente/config.yaml +++ b/ente/config.yaml @@ -87,10 +87,20 @@ options: USE_EXTERNAL_DB: false ports: 3000/tcp: 8300 + 3005/tcp: 8305 + 3006/tcp: 8306 + 3007/tcp: 8307 + 3008/tcp: 8308 + 3009/tcp: 8309 3200/tcp: 8320 8080/tcp: 8280 ports_description: 3000/tcp: Ente web UI + 3005/tcp: Ente Share + 3006/tcp: Ente Embed + 3007/tcp: Ente Paste + 3008/tcp: Ente Locker + 3009/tcp: Ente Memories 3200/tcp: MinIO S3 endpoint 8080/tcp: Ente API (museum) privileged: diff --git a/ente/rootfs/etc/cont-init.d/99-run.sh b/ente/rootfs/etc/cont-init.d/99-run.sh index ef707cb09e..8226bfd542 100755 --- a/ente/rootfs/etc/cont-init.d/99-run.sh +++ b/ente/rootfs/etc/cont-init.d/99-run.sh @@ -225,7 +225,7 @@ start_web() { # Set nginx mv /etc/nginx/http.d/web.bak /etc/nginx/http.d/web.conf - bashio::log.info "Starting Ente web (nginx, ports 3000‑3004)..." + bashio::log.info "Starting Ente web (nginx, ports 3000‑3009)..." exec nginx -g 'daemon off;' & WEB_PID=$! } diff --git a/ente/rootfs/etc/nginx/http.d/web.bak b/ente/rootfs/etc/nginx/http.d/web.bak index 3d9de7aecb..84982753c4 100644 --- a/ente/rootfs/etc/nginx/http.d/web.bak +++ b/ente/rootfs/etc/nginx/http.d/web.bak @@ -18,3 +18,23 @@ server { listen 3004; root /www/cast; location / { try_files $uri $uri.html /index.html =404; } } +server { + listen 3005; root /www/share; + location / { try_files $uri $uri.html /index.html =404; } +} +server { + listen 3006; root /www/embed; + location / { try_files $uri $uri.html /index.html =404; } +} +server { + listen 3007; root /www/paste; + location / { try_files $uri $uri.html /index.html =404; } +} +server { + listen 3008; root /www/locker; + location / { try_files $uri $uri.html /index.html =404; } +} +server { + listen 3009; root /www/memories; + location / { try_files $uri $uri.html /index.html =404; } +}