Ver Fonte

Upgrade postgres to 12.1

Andrew Swistak há 6 anos atrás
pai
commit
03160b3e77
2 ficheiros alterados com 3 adições e 2 exclusões
  1. 2 1
      .env.template
  2. 1 1
      docker-compose.yml

+ 2 - 1
.env.template

@@ -17,7 +17,8 @@ POSTGRES_PASSWORD=postgres
 # will be created as `ENV['POSTGRES_DB'] + "_test"`
 POSTGRES_DB=pokemon_trade_dev
 
-REDIS_URL=127.0.0.1:6379
+# If you want to use redis locally, provide the URL, e.g. redis://127.0.0.1:6379
+REDIS_URL=
 
 # Port which Rails is exposed on, _only used for docker containers_.
 WEB_HOST_PORT=3000

+ 1 - 1
docker-compose.yml

@@ -53,7 +53,7 @@ services:
       - ${REDIS_HOST_PORT}:6379
 
   db:
-    image: postgres:11.2-alpine
+    image: postgres:12.1-alpine
     environment:
       - POSTGRES_DB
       - POSTGRES_PASSWORD