Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Add redis container
Adam Bogdałc4759ccddacf
diff --git a/compose/entrypoint.sh b/compose/entrypoint.shindex bf3db2e990..258f53087d 100755--- a/compose/entrypoint.sh+++ b/compose/entrypoint.sh@@ -5,6 +5,7 @@ USER=saleorAPP_UID=`stat -c "%u" /app`export DATABASE_URL=postgres://$DB_ENV_DB_USER:$DB_ENV_DB_PASS@db/$DB_ENV_DB_NAME+export REDIS_URL=redis://redis:6379/0if [ $APP_UID != "0" ]; thenif [ $APP_UID != $(id -u $USER) ]; thendiff --git a/docker-compose.yml b/docker-compose.ymlindex 6a244fc0e3..d3feaffb6b 100755--- a/docker-compose.yml+++ b/docker-compose.yml@@ -4,10 +4,13 @@ db:- DB_NAME=saleor- DB_USER=saleor- DB_PASS=saleor+redis:+ image: redisweb:build: .links:- db+ - redisports:- '8000:8000'volumes: