@appweaver/create-weaver-app 1.1.1 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -103,7 +103,6 @@ program
103
103
  DATABASE_TEST_URL: getDatabaseUrl(command, sanitizedName, 'test'),
104
104
  DATABASE_DOCKER_SERVICE: dockerDb.service,
105
105
  DATABASE_DOCKER_MIGRATE_DEPENDS: dockerDb.migrateDepends,
106
- DATABASE_DOCKER_SQLITE_VOLUMES: dockerDb.sqliteVolumes,
107
106
  DATABASE_DOCKER_APP_VOLUME: dockerDb.appVolume,
108
107
  DATABASE_DOCKER_NAMED_VOLUME: dockerDb.namedVolume,
109
108
  VERSION: pkg.version
@@ -260,7 +259,6 @@ function getDatabaseDockerConfig(command, name) {
260
259
  return {
261
260
  service: '',
262
261
  migrateDepends: '',
263
- sqliteVolumes: ` volumes:\n - sqlite-data:/usr/app/data\n`,
264
262
  appVolume: `\n - sqlite-data:/usr/app/data`,
265
263
  namedVolume: ` sqlite-data:\n`
266
264
  };
@@ -356,7 +354,6 @@ function getDatabaseDockerConfig(command, name) {
356
354
  ${database === 'postgresql' ? 'postgres' : database}:
357
355
  condition: service_healthy
358
356
  `,
359
- sqliteVolumes: '',
360
357
  appVolume: '',
361
358
  namedVolume: config.volume
362
359
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appweaver/create-weaver-app",
3
- "version": "1.1.1",
3
+ "version": "1.1.3",
4
4
  "description": "Appweaver - the backend framework for AI-first development (@create-weaver-app)",
5
5
  "author": "Luka Matosevic",
6
6
  "license": "MIT",
@@ -26,7 +26,10 @@ services:
26
26
  {{DATABASE_DOCKER_MIGRATE_DEPENDS}} env_file:
27
27
  - .env
28
28
  command: [ "migrations" ]
29
- {{DATABASE_DOCKER_SQLITE_VOLUMES}} networks:
29
+ volumes:
30
+ - ./storage:/usr/app/storage
31
+ - ./logs:/usr/app/logs{{DATABASE_DOCKER_APP_VOLUME}}
32
+ networks:
30
33
  - {{LOWER_NAME}}
31
34
 
32
35
  {{LOWER_NAME}}.seed:
@@ -41,7 +44,10 @@ services:
41
44
  env_file:
42
45
  - .env
43
46
  command: [ "seed" ]
44
- {{DATABASE_DOCKER_SQLITE_VOLUMES}} networks:
47
+ volumes:
48
+ - ./storage:/usr/app/storage
49
+ - ./logs:/usr/app/logs{{DATABASE_DOCKER_APP_VOLUME}}
50
+ networks:
45
51
  - {{LOWER_NAME}}
46
52
 
47
53
  {{LOWER_NAME}}: