Browse Source

Docker: documentation update

philippe 6 years ago
parent
commit
90955c3032
1 changed files with 32 additions and 0 deletions
  1. 32 0
      README.md

+ 32 - 0
README.md View File

102
 
102
 
103
 In case you prefer using Docker:
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
     sudo docker run -e DATABASE_TYPE=sqlite \
110
     sudo docker run -e DATABASE_TYPE=sqlite \
106
                -p 80:80 -p 3030:3030 -p 5232:5232 \
111
                -p 80:80 -p 3030:3030 -p 5232:5232 \
107
                -v /var/tracim/etc:/etc/tracim -v /var/tracim/var:/var/tracim algoo/tracim
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
 ## Install Tracim on your server ##
141
 ## Install Tracim on your server ##
110
 
142
 
111
 Following the installation documentation below, you'll be able to run your own instance on your server.
143
 Following the installation documentation below, you'll be able to run your own instance on your server.