@aifabrix/builder 2.3.6 → 2.5.0

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.
@@ -16,7 +16,7 @@ services:
16
16
  ports:
17
17
  - "{{postgresPort}}:5432"
18
18
  volumes:
19
- - dev{{devId}}_postgres_data:/var/lib/postgresql/data
19
+ - {{#if (eq devId 0)}}postgres_data{{else}}dev{{devId}}_postgres_data{{/if}}:/var/lib/postgresql/data
20
20
  - ./init-scripts:/docker-entrypoint-initdb.d
21
21
  networks:
22
22
  - {{networkName}}
@@ -35,7 +35,7 @@ services:
35
35
  ports:
36
36
  - "{{redisPort}}:6379"
37
37
  volumes:
38
- - dev{{devId}}_redis_data:/data
38
+ - {{#if (eq devId 0)}}redis_data{{else}}dev{{devId}}_redis_data{{/if}}:/data
39
39
  networks:
40
40
  - {{networkName}}
41
41
  healthcheck:
@@ -55,6 +55,8 @@ services:
55
55
  PGADMIN_CONFIG_SERVER_MODE: 'False'
56
56
  ports:
57
57
  - "{{pgadminPort}}:80"
58
+ volumes:
59
+ - {{#if (eq devId 0)}}pgadmin_data{{else}}dev{{devId}}_pgadmin_data{{/if}}:/var/lib/pgadmin
58
60
  restart: unless-stopped
59
61
  depends_on:
60
62
  postgres:
@@ -81,12 +83,15 @@ services:
81
83
  - {{networkName}}
82
84
 
83
85
  volumes:
84
- dev{{devId}}_postgres_data:
86
+ {{#if (eq devId 0)}}postgres_data{{else}}dev{{devId}}_postgres_data{{/if}}:
85
87
  name: {{#if (eq devId 0)}}infra_postgres_data{{else}}infra_dev{{devId}}_postgres_data{{/if}}
86
88
  driver: local
87
- dev{{devId}}_redis_data:
89
+ {{#if (eq devId 0)}}redis_data{{else}}dev{{devId}}_redis_data{{/if}}:
88
90
  name: {{#if (eq devId 0)}}infra_redis_data{{else}}infra_dev{{devId}}_redis_data{{/if}}
89
91
  driver: local
92
+ {{#if (eq devId 0)}}pgadmin_data{{else}}dev{{devId}}_pgadmin_data{{/if}}:
93
+ name: {{#if (eq devId 0)}}infra_pgadmin_data{{else}}infra_dev{{devId}}_pgadmin_data{{/if}}
94
+ driver: local
90
95
 
91
96
  networks:
92
97
  {{networkName}}: