Pārlūkot izejas kodu

Merge pull request #529 from tracim/feature/documentation

Bastien Sevajol 6 gadus atpakaļ
vecāks
revīzija
0225bd4b07
Revīzijas autora e-pasts nav piesaistīts nevienam kontam
1 mainītis faili ar 57 papildinājumiem un 3 dzēšanām
  1. 57 3
      README.md

+ 57 - 3
README.md Parādīt failu

@@ -102,9 +102,63 @@ If you want your own dedicated instance but do not want to manage it by yourself
102 102
 
103 103
 In case you prefer using Docker:
104 104
 
105
-    sudo docker run -e DATABASE_TYPE=sqlite \
106
-               -p 80:80 -p 3030:3030 -p 5232:5232 \
107
-               -v /var/tracim/etc:/etc/tracim -v /var/tracim/var:/var/tracim algoo/tracim
105
+You need to install docker on your server first (see [https://docs.docker.com/install/linux/docker-ce/debian/](here))
106
+Make sure `docker.service` is started correctly.
107
+
108
+    systemctl status docker.service
109
+
110
+**If you want to use the latest stable image: **
111
+
112
+    sudo docker run \
113
+        -e DATABASE_TYPE=sqlite \
114
+        -p 80:80 \
115
+        -p 3030:3030 \
116
+        -p 5232:5232 \
117
+        -v /var/tracim/etc:/etc/tracim \
118
+        -v /var/tracim/var:/var/tracim \
119
+        algoo/tracim  # docker image: tracim:unstable for development version, tracim_test:latest for nightly builds
120
+
121
+**For another case, you can find exemple here:**
122
+
123
+* You can use `algoo/tracim:<$tag>` stable image (replace `<$tag>` by the tag you want to use):
124
+
125
+        sudo docker run \
126
+            -e DATABASE_TYPE=sqlite \
127
+            -p 80:80 \
128
+            -p 3030:3030 \
129
+            -p 5232:5232 \
130
+            -v /var/tracim/etc:/etc/tracim \
131
+            -v /var/tracim/var:/var/tracim \
132
+            algoo/tracim:<$tag>
133
+
134
+
135
+* You can use `algoo/tracim:unstable` image:
136
+
137
+        sudo docker run \
138
+            -e DATABASE_TYPE=sqlite \
139
+            -p 80:80 \
140
+            -p 3030:3030 \
141
+            -p 5232:5232 \
142
+            -v /var/tracim/etc:/etc/tracim \
143
+            -v /var/tracim/var:/var/tracim \
144
+            algoo/tracim:unstable
145
+
146
+
147
+* You can use `algoo/tracim_testing:latest` image:
148
+
149
+        sudo docker run \
150
+            -e DATABASE_TYPE=sqlite \
151
+            -p 80:80 \
152
+            -p 3030:3030 \
153
+            -p 5232:5232 \
154
+            -v /var/tracim/etc:/etc/tracim \
155
+            -v /var/tracim/var:/var/tracim \
156
+            algoo/tracim_testing
157
+
158
+
159
+All docker images are available here : https://hub.docker.com/u/algoo/
160
+
161
+----
108 162
 
109 163
 ## Install Tracim on your server ##
110 164