diff --git a/README.md b/README.md index 74e607ad..ce70cce5 100644 --- a/README.md +++ b/README.md @@ -110,19 +110,6 @@ It's designed to suffice the ordinary use case by default. If you need to custom - `/opt/stackstorm/virtualenvs` - `/opt/stackstorm/configs` -Since data directories may persist between invocations of `docker-compose`, you may see the following error: - -``` -2018-02-21 16:36:21.453 UTC [1] FATAL: database files are incompatible with server -2018-02-21 16:36:21.453 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 9.6, which is not compatible with this version 10.2 (Debian 10.2-1.pgdg90+1). -``` - -In `docker-compose.yml`, pin the postgres version to `9.6` and you will not see the error again. - -``` -- image: postgres:latest -+ image: postgres:9.6 -``` ## Environment variables diff --git a/docker-compose.yml b/docker-compose.yml index bbc5df8f..7612d982 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -40,7 +40,7 @@ services: - mongo-configdb-volume:/data/configdb dns_search: . rabbitmq: - image: rabbitmq:3.6-management + image: rabbitmq:management container_name: rabbitmq env_file: - conf/rabbitmq.env @@ -50,7 +50,7 @@ services: - rabbitmq-volume:/var/lib/rabbitmq dns_search: . postgres: - image: postgres:9.6 + image: postgres:latest container_name: postgres env_file: - conf/postgres.env @@ -60,7 +60,7 @@ services: - postgres-volume:/var/lib/postgresql/data dns_search: . redis: - image: redis:4.0 + image: redis:latest container_name: redis env_file: - conf/redis.env