diff options
author | Angristan <Angristan@users.noreply.github.com> | 2018-03-22 14:08:55 +0100 |
---|---|---|
committer | Rigel Kent <par@rigelk.eu> | 2018-03-22 14:08:55 +0100 |
commit | 0c49373af9c3eaf307581c2608d3f378ca447b11 (patch) | |
tree | 901590607b892b02a8e10988d7bc004d53e52b12 | |
parent | 05e67d6206669b4a17e786038b1923e79bacb196 (diff) | |
download | PeerTube-0c49373af9c3eaf307581c2608d3f378ca447b11.tar.gz PeerTube-0c49373af9c3eaf307581c2608d3f378ca447b11.tar.zst PeerTube-0c49373af9c3eaf307581c2608d3f378ca447b11.zip |
Use {postgres,redis}:alpine images with docker-compose (#372)
* Specify Redis major version
-rw-r--r-- | support/docker/production/docker-compose.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/support/docker/production/docker-compose.yml b/support/docker/production/docker-compose.yml index b08cace76..af6a36d68 100644 --- a/support/docker/production/docker-compose.yml +++ b/support/docker/production/docker-compose.yml | |||
@@ -36,7 +36,7 @@ services: | |||
36 | restart: "always" | 36 | restart: "always" |
37 | 37 | ||
38 | postgres: | 38 | postgres: |
39 | image: postgres:10 | 39 | image: postgres:10-alpine |
40 | environment: | 40 | environment: |
41 | POSTGRES_USER: postgres_user | 41 | POSTGRES_USER: postgres_user |
42 | POSTGRES_PASSWORD: postgres_password | 42 | POSTGRES_PASSWORD: postgres_password |
@@ -46,7 +46,7 @@ services: | |||
46 | restart: "always" | 46 | restart: "always" |
47 | 47 | ||
48 | redis: | 48 | redis: |
49 | image: redis | 49 | image: redis:4-alpine |
50 | volumes: | 50 | volumes: |
51 | - ./redis:/data | 51 | - ./redis:/data |
52 | restart: "always" | 52 | restart: "always" |