Refactoring mentions of port 5000 back to mention port 3000 instead to remove confusion

Ian Blenke 9 年之前
父節點
當前提交
0764e95b53
共有 3 個文件被更改,包括 6 次插入6 次删除
  1. 1 1
      docker/Dockerfile
  2. 3 3
      docker/README.md
  3. 2 2
      docker/docker-compose.yml

+ 1 - 1
docker/Dockerfile

@@ -30,7 +30,7 @@ RUN chmod 755 /scripts/init
30 30
 
31 31
 VOLUME /var/lib/mysql
32 32
 
33
-EXPOSE 5000
33
+EXPOSE 3000
34 34
 
35 35
 CMD ["/scripts/init"]
36 36
 

+ 3 - 3
docker/README.md

@@ -47,7 +47,7 @@ The CMD launches Huginn via the scripts/init script. This may become the ENTRYPO
47 47
 
48 48
 Simple stand-alone usage:
49 49
 
50
-    docker run -it -p 5000:5000 cantino/huginn
50
+    docker run -it -p 3000:3000 cantino/huginn
51 51
 
52 52
 To link to another mysql container, for example:
53 53
 
@@ -59,7 +59,7 @@ To link to another mysql container, for example:
59 59
         cantino/huginn
60 60
     docker run --rm --name huginn \
61 61
         --link mysql \
62
-        -p 5000:5000 \
62
+        -p 3000:3000 \
63 63
         -e HUGINN_DATABASE_NAME=huginn \
64 64
         -e HUGINN_DATABASE_USERNAME=huginn \
65 65
         -e HUGINN_DATABASE_PASSWORD=somethingsecret \
@@ -69,7 +69,7 @@ To link to another container named 'postgres':
69 69
 
70 70
     docker run --rm --name huginn \
71 71
         --link postgres:postgresql \
72
-        -p 5000:5000 \
72
+        -p 3000:3000 \
73 73
         -e "HUGINN_DATABASE_USERNAME=huginn" \
74 74
         -e "HUGINN_DATABASE_PASSWORD=pass@word" \
75 75
         cantino/huginn

+ 2 - 2
docker/docker-compose.yml

@@ -15,14 +15,14 @@ mysql:
15 15
 huginn:
16 16
   build: .
17 17
   ports:
18
-    - 5000:5000
18
+    - 3000:3000
19 19
   environment:
20 20
     HUGINN_DATABASE_NAME: huginn
21 21
     HUGINN_DATABASE_USERNAME: root
22 22
     HUGINN_DATABASE_PASSWORD: myrootpassword
23 23
     INTENTIONALLY_SLEEP: 10
24 24
     #DATABASE_INITIAL_CONNECT_MAX_RETRIES: 5
25
-    PORT: 5000
25
+    PORT: 3000
26 26
   links:
27 27
     - mysql
28 28