Use {postgres,redis}:alpine images with docker-compose (#372)
authorAngristan <Angristan@users.noreply.github.com>
Thu, 22 Mar 2018 13:08:55 +0000 (14:08 +0100)
committerRigel Kent <par@rigelk.eu>
Thu, 22 Mar 2018 13:08:55 +0000 (14:08 +0100)
* Specify Redis major version

support/docker/production/docker-compose.yml

index b08cace769e022d2eb3054ef7a3cb841dba52e77..af6a36d689d674bff69311c503f7ef514bb991b5 100644 (file)
@@ -36,7 +36,7 @@ services:
     restart: "always"
 
   postgres:
-    image: postgres:10
+    image: postgres:10-alpine
     environment:
       POSTGRES_USER: postgres_user
       POSTGRES_PASSWORD: postgres_password
@@ -46,7 +46,7 @@ services:
     restart: "always"
 
   redis:
-    image: redis
+    image: redis:4-alpine
     volumes:
       - ./redis:/data
     restart: "always"