Selaa lähdekoodia

Docker: documentation update

philippe 6 vuotta sitten
vanhempi
commit
90955c3032
1 muutettua tiedostoa jossa 32 lisäystä ja 0 poistoa
  1. 32 0
      README.md

+ 32 - 0
README.md Näytä tiedosto

@@ -102,10 +102,42 @@ 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
+You need to install docker on your server first.
106
+Make sure `docker.service` is started correctly.
107
+
108
+**If you want to use the latest stable image: **
109
+
105 110
     sudo docker run -e DATABASE_TYPE=sqlite \
106 111
                -p 80:80 -p 3030:3030 -p 5232:5232 \
107 112
                -v /var/tracim/etc:/etc/tracim -v /var/tracim/var:/var/tracim algoo/tracim
108 113
 
114
+**For another case, you can find exemple here:**
115
+
116
+* You can use `algoo/tracim:<$tag>` stable image (replace `<$tag>` by the tag you want to use):
117
+
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>
121
+
122
+
123
+* You can use `algoo/tracim:unstable` image:
124
+
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
128
+
129
+
130
+* You can use `algoo/tracim_testing:latest` image:
131
+
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
135
+
136
+
137
+All docker images are available here : https://hub.docker.com/u/algoo/
138
+
139
+----
140
+
109 141
 ## Install Tracim on your server ##
110 142
 
111 143
 Following the installation documentation below, you'll be able to run your own instance on your server.