mirror of https://github.com/Chocobozzz/PeerTube
Use {postgres,redis}:alpine images with docker-compose (#372)
* Specify Redis major versionpull/376/head
parent
05e67d6206
commit
0c49373af9
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue