]> Untitled Git - lemmy.git/commitdiff
Changing port, adding icon.
authorDessalines <tyhou13@gmx.com>
Sat, 6 Apr 2019 23:48:54 +0000 (16:48 -0700)
committerDessalines <tyhou13@gmx.com>
Sat, 6 Apr 2019 23:48:54 +0000 (16:48 -0700)
- Fixes #46
- Fixes #37

Dockerfile
README.md
docker-compose.yml
server/src/bin/main.rs
ui/src/env.ts

index b17f73c0cb7ca894405d5b075ecba88e4877bab6..9a7caccd973d20dcfd6570611ba0c87257bec36f 100644 (file)
@@ -8,6 +8,5 @@ COPY server /app/server
 COPY --from=node /app/ui/dist /app/dist
 RUN cd /app/server && cargo build --release
 RUN mv /app/server/target/release/lemmy /app/
-EXPOSE 8080
 WORKDIR /app/
-
+EXPOSE 8536
index 949b49e2de300d5051ac2079e827349222a2f3aa..96d81eade0915b199c723149e395a8c739926115 100644 (file)
--- a/README.md
+++ b/README.md
@@ -26,7 +26,7 @@ git clone https://github.com/dessalines/lemmy
 cd lemmy
 docker-compose up
 ```
-and goto http://localhost:8080
+and goto http://localhost:8536
 ### Local Development
 #### Requirements
 - [Rust](https://www.rust-lang.org/)
@@ -43,7 +43,7 @@ git clone https://github.com/dessalines/lemmy
 cd lemmy
 ./install.sh
 ```
-and goto http://localhost:8080
+and goto http://localhost:8536
 
 ## Documentation
 - [ActivityPub API.md](docs/API.md)
index c11c9176af02ad3e61e90805572cedcb7ce8bca2..940cd0f6dc0f5fc3f1d87d0060197729f4450aa8 100644 (file)
@@ -18,7 +18,7 @@ services:
       context: .
     command: /bin/sh -c /app/lemmy
     ports:
-      - "8080:8080"
+      - "8536:8536"
     environment:
       LEMMY_FRONT_END_DIR: /app/dist
       DATABASE_URL: postgres://rrr:rrr@db:5432/rrr
index 80db1822c13ca914e0b85db9cce84660541c40be..ed1c86fe66a8ae912fa507352ccd75918778982f 100644 (file)
@@ -261,11 +261,11 @@ fn main() {
         fs::StaticFiles::new(front_end_dir()).unwrap()
       )
       .finish()
-  }).bind("0.0.0.0:8080")
+  }).bind("0.0.0.0:8536")
   .unwrap()
     .start();
 
-  println!("Started http server: 0.0.0.0:8080");
+  println!("Started http server: 0.0.0.0:8536");
   let _ = sys.run();
 }
 
index 1750006bb743102750831bea4a31bcba4147bb76..954d835fabfdcdabc1bf3ba8e71cd01a651b381d 100644 (file)
@@ -1,2 +1,2 @@
-export const endpoint = `${window.location.hostname}:8080`;
+export const endpoint = `${window.location.hostname}:8536`;
 export let wsUri = (window.location.protocol=='https:') ? 'wss://' : 'ws://' + endpoint + '/service/ws';