From: Edgar Alvarado <15692727+pe1uca@users.noreply.github.com> Date: Mon, 12 Jun 2023 22:38:27 +0000 (-0400) Subject: Fix ports used by docker (#3012) X-Git-Url: http://these/git/%7B%60/static/assets/css/themes/%24%7Bthis.props.defaultTheme%7D.min.css%60%7D?a=commitdiff_plain;h=932e65c16d4d91aeeb5fbc1896c3325a44095862;p=lemmy.git Fix ports used by docker (#3012) Co-authored-by: Dessalines --- diff --git a/docker/Dockerfile b/docker/Dockerfile index 4da87a1d..f28c3ac9 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -33,5 +33,4 @@ RUN apk add libpq # Copy resources COPY --from=builder /app/lemmy_server /app/lemmy -EXPOSE 8536 CMD ["/app/lemmy"] diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index c023741d..1b7d85eb 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -16,8 +16,9 @@ services: - lemmyexternalproxy ports: # actual and only port facing any connection from outside - # Note, change the left number if port 80 is already in use on your system (or you want to run a reverse proxy outside this config) - - "80:80" + # Note, change the left number if port 1236 is already in use on your system + # You could use port 80 if you won't use a reverse proxy + - "1236:1236" - "8536:8536" volumes: - ./nginx.conf:/etc/nginx/nginx.conf:ro,Z