Use {postgres,redis}:alpine images with docker-compose (#372)

* Specify Redis major version
pull/376/head
Angristan 2018-03-22 14:08:55 +01:00 committed by Rigel Kent
parent 05e67d6206
commit 0c49373af9
1 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ services:
restart: "always" restart: "always"
postgres: postgres:
image: postgres:10 image: postgres:10-alpine
environment: environment:
POSTGRES_USER: postgres_user POSTGRES_USER: postgres_user
POSTGRES_PASSWORD: postgres_password POSTGRES_PASSWORD: postgres_password
@ -46,7 +46,7 @@ services:
restart: "always" restart: "always"
redis: redis:
image: redis image: redis:4-alpine
volumes: volumes:
- ./redis:/data - ./redis:/data
restart: "always" restart: "always"