Selaa lähdekoodia

pr review fixes

Philip Korsholm 3 vuotta sitten
vanhempi
commit
f3cc38ae25
2 muutettua tiedostoa jossa 9 lisäystä ja 4 poistoa
  1. 5 1
      README.md
  2. 4 3
      docker-compose.yml

+ 5 - 1
README.md

@@ -53,9 +53,13 @@ Your local Medusa server is now running on port **9000**.
 
 ## Setting up your store with docker and postgres
 
+- Install the Medusa CLI
+  ```
+  npm install -g @medusajs/medusa-cli
+  ```
 - Create a new Medusa project
   ```
-  git clone https://https://github.com/medusajs/medusa-starter-default.git
+  medusa new my-medusa-store
   ```
 - Update your medusa config:
 

+ 4 - 3
docker-compose.yml

@@ -4,15 +4,17 @@ services:
     build:
       context: .
       dockerfile: Dockerfile
-    image: backend:test
+    image: backend:starter
     container_name: medusa-server-default
     depends_on:
       - postgres
       - redis
     environment:
       DATABASE_URL: postgres://postgres:postgres@postgres:5432/medusa-docker
-      REDIS_URL: redis://medusa-cache
+      REDIS_URL: redis://redis
       NODE_ENV: development
+      JWT_SECRET: something
+      COOKIE_SECRET: something
       PORT: 9000
     ports:
       - "9000:9000"
@@ -31,7 +33,6 @@ services:
 
   redis:
     image: redis
-    container_name: medusa-cache
     expose:
       - 6379