Ver código fonte

Update README.md

Bastien Sevajol 6 anos atrás
pai
commit
a0b017ddbd
Nenhuma conta conectada ao e-mail do autor de commit
1 arquivos alterados com 32 adições e 12 exclusões
  1. 32 12
      README.md

+ 32 - 12
README.md Ver arquivo

@@ -107,31 +107,51 @@ Make sure `docker.service` is started correctly.
107 107
 
108 108
 **If you want to use the latest stable image: **
109 109
 
110
-    sudo docker run -e DATABASE_TYPE=sqlite \
111
-               -p 80:80 -p 3030:3030 -p 5232:5232 \
112
-               -v /var/tracim/etc:/etc/tracim -v /var/tracim/var:/var/tracim algoo/tracim
110
+    sudo docker run \
111
+        -e DATABASE_TYPE=sqlite \
112
+        -p 80:80 \
113
+        -p 3030:3030 \
114
+        -p 5232:5232 \
115
+        -v /var/tracim/etc:/etc/tracim \
116
+        -v /var/tracim/var:/var/tracim \
117
+        algoo/tracim  # docker image: tracim:unstable for development version, tracim_test:latest for nightly builds
113 118
 
114 119
 **For another case, you can find exemple here:**
115 120
 
116 121
 * You can use `algoo/tracim:<$tag>` stable image (replace `<$tag>` by the tag you want to use):
117 122
 
118
-        sudo docker run -e DATABASE_TYPE=sqlite \
119
-               -p 80:80 -p 3030:3030 -p 5232:5232 \
120
-               -v /var/tracim/etc:/etc/tracim -v /var/tracim/var:/var/tracim algoo/tracim:<$tag>
123
+        sudo docker run \
124
+            -e DATABASE_TYPE=sqlite \
125
+            -p 80:80 \
126
+            -p 3030:3030 \
127
+            -p 5232:5232 \
128
+            -v /var/tracim/etc:/etc/tracim \
129
+            -v /var/tracim/var:/var/tracim \
130
+            algoo/tracim:<$tag>
121 131
 
122 132
 
123 133
 * You can use `algoo/tracim:unstable` image:
124 134
 
125
-        sudo docker run -e DATABASE_TYPE=sqlite \
126
-               -p 80:80 -p 3030:3030 -p 5232:5232 \
127
-               -v /var/tracim/etc:/etc/tracim -v /var/tracim/var:/var/tracim algoo/tracim:unstable
135
+        sudo docker run \
136
+            -e DATABASE_TYPE=sqlite \
137
+            -p 80:80 \
138
+            -p 3030:3030 \
139
+            -p 5232:5232 \
140
+            -v /var/tracim/etc:/etc/tracim \
141
+            -v /var/tracim/var:/var/tracim \
142
+            algoo/tracim:unstable
128 143
 
129 144
 
130 145
 * You can use `algoo/tracim_testing:latest` image:
131 146
 
132
-        sudo docker run -e DATABASE_TYPE=sqlite \
133
-               -p 80:80 -p 3030:3030 -p 5232:5232 \
134
-               -v /var/tracim/etc:/etc/tracim -v /var/tracim/var:/var/tracim algoo/tracim_testing
147
+        sudo docker run \
148
+            -e DATABASE_TYPE=sqlite \
149
+            -p 80:80 \
150
+            -p 3030:3030 \
151
+            -p 5232:5232 \
152
+            -v /var/tracim/etc:/etc/tracim \
153
+            -v /var/tracim/var:/var/tracim \
154
+            algoo/tracim_testing
135 155
 
136 156
 
137 157
 All docker images are available here : https://hub.docker.com/u/algoo/