Lock minor version of database images in docker compose examples

Dominik Sander 9 年 前
コミット
083e0e18ad
共有4 個のファイルを変更した8 個の追加8 個の削除を含む
  1. 2 2
      docker/multi-process/docker-compose.yml
  2. 2 2
      docker/single-process/develop.yml
  3. 2 2
      docker/single-process/docker-compose.yml
  4. 2 2
      docker/single-process/postgresql.yml

+ 2 - 2
docker/multi-process/docker-compose.yml

@@ -1,9 +1,9 @@
1 1
 mysqldata:
2
-  image: mysql
2
+  image: mysql:5.7
3 3
   command: /bin/true
4 4
 
5 5
 mysql:
6
-  image: mysql
6
+  image: mysql:5.7
7 7
   volumes_from:
8 8
     - mysqldata
9 9
   environment:

+ 2 - 2
docker/single-process/develop.yml

@@ -1,9 +1,9 @@
1 1
 mysqldata:
2
-  image: mysql
2
+  image: mysql:5.7
3 3
   command: /bin/true
4 4
 
5 5
 mysql:
6
-  image: mysql
6
+  image: mysql:5.7
7 7
   volumes_from:
8 8
     - mysqldata
9 9
   environment:

+ 2 - 2
docker/single-process/docker-compose.yml

@@ -1,9 +1,9 @@
1 1
 mysqldata:
2
-  image: mysql
2
+  image: mysql:5.7
3 3
   command: /bin/true
4 4
 
5 5
 mysql:
6
-  image: mysql
6
+  image: mysql:5.7
7 7
   volumes_from:
8 8
     - mysqldata
9 9
   environment:

+ 2 - 2
docker/single-process/postgresql.yml

@@ -1,9 +1,9 @@
1 1
 postgresdata:
2
-  image: postgres
2
+  image: postgres:9.5
3 3
   command: /bin/true
4 4
 
5 5
 postgres:
6
-  image: postgres
6
+  image: postgres:9.5
7 7
   volumes_from:
8 8
     - postgresdata
9 9
   environment: