mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-08-16 05:20:19 +02:00
docker: expose non-80 port inside containers
This commit is contained in:
@@ -1,7 +1,5 @@
|
|||||||
FROM mcr.microsoft.com/dotnet/runtime-deps:8.0-alpine AS base
|
FROM mcr.microsoft.com/dotnet/runtime-deps:8.0-alpine AS base
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
EXPOSE 80
|
|
||||||
EXPOSE 443
|
|
||||||
|
|
||||||
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0-alpine AS build
|
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0-alpine AS build
|
||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
FROM mcr.microsoft.com/dotnet/runtime-deps:8.0-alpine AS base
|
FROM mcr.microsoft.com/dotnet/runtime-deps:8.0-alpine AS base
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
EXPOSE 80
|
|
||||||
EXPOSE 443
|
|
||||||
|
|
||||||
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0-alpine AS build
|
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0-alpine AS build
|
||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
FROM mcr.microsoft.com/dotnet/runtime-deps:8.0-alpine AS base
|
FROM mcr.microsoft.com/dotnet/runtime-deps:8.0-alpine AS base
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
EXPOSE 80
|
|
||||||
EXPOSE 443
|
|
||||||
|
|
||||||
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0-alpine AS build
|
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0-alpine AS build
|
||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
|
|||||||
+6
-6
@@ -1,9 +1,9 @@
|
|||||||
x-server-discovery: &server-discovery
|
x-server-discovery: &server-discovery
|
||||||
NOTESNOOK_SERVER_PORT: 80
|
NOTESNOOK_SERVER_PORT: 5264
|
||||||
NOTESNOOK_SERVER_HOST: notesnook-server
|
NOTESNOOK_SERVER_HOST: notesnook-server
|
||||||
IDENTITY_SERVER_PORT: 80
|
IDENTITY_SERVER_PORT: 8264
|
||||||
IDENTITY_SERVER_HOST: identity-server
|
IDENTITY_SERVER_HOST: identity-server
|
||||||
SSE_SERVER_PORT: 80
|
SSE_SERVER_PORT: 7264
|
||||||
SSE_SERVER_HOST: sse-server
|
SSE_SERVER_HOST: sse-server
|
||||||
SELF_HOSTED: 1
|
SELF_HOSTED: 1
|
||||||
|
|
||||||
@@ -111,7 +111,7 @@ services:
|
|||||||
identity-server:
|
identity-server:
|
||||||
image: streetwriters/identity:latest
|
image: streetwriters/identity:latest
|
||||||
ports:
|
ports:
|
||||||
- 8264:80
|
- 8264:8264
|
||||||
networks:
|
networks:
|
||||||
- notesnook
|
- notesnook
|
||||||
env_file: *env-files
|
env_file: *env-files
|
||||||
@@ -131,7 +131,7 @@ services:
|
|||||||
notesnook-server:
|
notesnook-server:
|
||||||
image: streetwriters/notesnook-sync:latest
|
image: streetwriters/notesnook-sync:latest
|
||||||
ports:
|
ports:
|
||||||
- 5264:80
|
- 5264:5264
|
||||||
networks:
|
networks:
|
||||||
- notesnook
|
- notesnook
|
||||||
env_file: *env-files
|
env_file: *env-files
|
||||||
@@ -160,7 +160,7 @@ services:
|
|||||||
sse-server:
|
sse-server:
|
||||||
image: streetwriters/sse:latest
|
image: streetwriters/sse:latest
|
||||||
ports:
|
ports:
|
||||||
- 7264:80
|
- 7264:7264
|
||||||
env_file: *env-files
|
env_file: *env-files
|
||||||
depends_on:
|
depends_on:
|
||||||
- identity-server
|
- identity-server
|
||||||
|
|||||||
Reference in New Issue
Block a user