about summary refs log tree commit diff
diff options
context:
space:
mode:
authorunarist <m.unarist@gmail.com>2017-10-07 03:37:17 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-10-06 20:37:17 +0200
commitc75ca0525b5c7fd85a036d71b7b484a2072d701a (patch)
treeabdce7cca6c562923c1dfdebebf9f94d043da292
parent6f2d88dd28e84d236570bed4367d4a72ade0c404 (diff)
Specify middleware versions in docker-compose.yml (#5247)
PostgreSQL10 has been released, but upgrading from older versions needs dump/restore. If you pull new version without those handling, db service will fail to launch.

To prevent accidentally upgrading, and as a recommended version, this patch specifies PostgreSQL and Redis version.
-rw-r--r--docker-compose.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index cb49fda97..f280d4ecc 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -3,14 +3,14 @@ services:
 
   db:
     restart: always
-    image: postgres:alpine
+    image: postgres:9.6-alpine
 ### Uncomment to enable DB persistance
 #    volumes:
 #      - ./postgres:/var/lib/postgresql/data
 
   redis:
     restart: always
-    image: redis:alpine
+    image: redis:4.0-alpine
 ### Uncomment to enable REDIS persistance
 #    volumes:
 #      - ./redis:/data