Skip to content
Snippets Groups Projects
Commit c75ca052 authored by unarist's avatar unarist Committed by Eugen Rochko
Browse files

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.
parent 6f2d88dd
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment