Преглед на файлове

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.
master
unarist преди 6 години
committed by Eugen Rochko
родител
ревизия
c75ca0525b
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. +2
    -2
      docker-compose.yml

+ 2
- 2
docker-compose.yml Целия файл

@@ -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


Зареждане…
Отказ
Запис