Browse Source

fix(dev-server): Change postgres container credentials to defaults in config (#2811)

David Höck 1 year ago
parent
commit
beae6930a5
2 changed files with 6 additions and 5 deletions
  1. 3 2
      packages/dev-server/dev-config.ts
  2. 3 3
      packages/dev-server/docker-compose.yml

+ 3 - 2
packages/dev-server/dev-config.ts

@@ -77,8 +77,9 @@ export const devConfig: VendureConfig = {
             assetUploadDir: path.join(__dirname, 'assets'),
         }),
         DefaultSearchPlugin.init({ bufferUpdates: false, indexStockStatus: false }),
-        BullMQJobQueuePlugin.init({}),
-        // DefaultJobQueuePlugin.init({}),
+        // Enable if you need to debug the job queue
+        // BullMQJobQueuePlugin.init({}),
+        DefaultJobQueuePlugin.init({}),
         // JobQueueTestPlugin.init({ queueCount: 10 }),
         // ElasticsearchPlugin.init({
         //     host: 'http://localhost',

+ 3 - 3
packages/dev-server/docker-compose.yml

@@ -62,9 +62,9 @@ services:
     image: postgres:12.3
     container_name: postgres
     environment:
-      POSTGRES_DB: postgres
-      POSTGRES_USER: admin
-      POSTGRES_PASSWORD: secret
+      POSTGRES_DB: vendure
+      POSTGRES_USER: postgres
+      POSTGRES_PASSWORD: postgres
       PGDATA: /var/lib/postgresql/data
     volumes:
       - postgres_data:/var/lib/postgresql/data