]> Untitled Git - lemmy.git/commitdiff
Fix ports used by docker (#3012)
authorEdgar Alvarado <15692727+pe1uca@users.noreply.github.com>
Mon, 12 Jun 2023 22:38:27 +0000 (18:38 -0400)
committerGitHub <noreply@github.com>
Mon, 12 Jun 2023 22:38:27 +0000 (18:38 -0400)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
docker/Dockerfile
docker/docker-compose.yml

index 4da87a1d8416aee32802c27657910bae0c08eb8d..f28c3ac9690751c2a984d0b6003ebf55cd6aca8f 100644 (file)
@@ -33,5 +33,4 @@ RUN apk add libpq
 # Copy resources
 COPY --from=builder /app/lemmy_server /app/lemmy
 
-EXPOSE 8536
 CMD ["/app/lemmy"]
index c023741d712b873758fb3797548ac4a43e95cb86..1b7d85eb3f71536b2b651a43c65e9823db96a963 100644 (file)
@@ -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