File tree Expand file tree Collapse file tree 5 files changed +1
-81
lines changed Expand file tree Collapse file tree 5 files changed +1
-81
lines changed Original file line number Diff line number Diff line change @@ -14,26 +14,10 @@ services:
14
14
- ./sql_init:/docker-entrypoint-initdb.d
15
15
networks :
16
16
default :
17
- postgres-post :
18
- image : postgres:14
19
- environment :
20
- POSTGRES_PORT : 5432
21
- POSTGRES_HOST : postgres
22
- POSTGRES_USER : postgres
23
- volumes :
24
- - ../bin:/blobber/bin
25
- - ../sql:/blobber/sql
26
- command : bash /blobber/bin/postgres-entrypoint.sh
27
- links :
28
- - postgres:postgres
29
17
validator :
30
18
image : validator
31
19
environment :
32
20
- DOCKER= true
33
- depends_on :
34
- - postgres-post
35
- links :
36
- - postgres-post:postgres-post
37
21
volumes :
38
22
- ../config:/validator/config
39
23
- ./blobber${BLOBBER}/data:/validator/data
Original file line number Diff line number Diff line change @@ -14,18 +14,6 @@ services:
14
14
- ./sql_init:/docker-entrypoint-initdb.d
15
15
networks :
16
16
default :
17
- postgres-post :
18
- image : postgres:14
19
- environment :
20
- POSTGRES_PORT : 5432
21
- POSTGRES_HOST : postgres
22
- POSTGRES_USER : postgres
23
- volumes :
24
- - ../bin:/blobber/bin
25
- - ../sql:/blobber/sql
26
- command : bash /blobber/bin/postgres-entrypoint.sh
27
- links :
28
- - postgres:postgres
29
17
30
18
networks :
31
19
default :
Original file line number Diff line number Diff line change @@ -14,27 +14,10 @@ services:
14
14
- ./sql_init:/docker-entrypoint-initdb.d
15
15
networks :
16
16
default :
17
- postgres-post :
18
- image : postgres:14
19
- environment :
20
- POSTGRES_PORT : 5432
21
- POSTGRES_HOST : postgres
22
- POSTGRES_USER : postgres
23
- POSTGRES_PASSWORD : secret
24
- volumes :
25
- - ../bin:/blobber/bin
26
- - ../sql:/blobber/sql
27
- command : bash /blobber/bin/postgres-entrypoint.sh
28
- links :
29
- - postgres:postgres
30
17
validator :
31
18
image : validator
32
19
environment :
33
20
- DOCKER= true
34
- depends_on :
35
- - postgres-post
36
- links :
37
- - postgres-post:postgres-post
38
21
volumes :
39
22
- ${CONFIG_PATH:-../config}:/validator/config # value after :- is default value
40
23
- ./blobber${BLOBBER}/data:/validator/data
Original file line number Diff line number Diff line change @@ -11,28 +11,10 @@ services:
11
11
- " 543${BLOBBER}:5432"
12
12
labels :
13
13
zchain : " postgres"
14
- postgres-post :
15
- image : postgres:14
16
- environment :
17
- POSTGRES_PORT : 5432
18
- POSTGRES_HOST : postgres
19
- POSTGRES_USER : postgres
20
- volumes :
21
- - ../bin:/blobber/bin
22
- - ../sql:/blobber/sql
23
- labels :
24
- zchain : " postgres-post"
25
- command : bash /blobber/bin/postgres-entrypoint.sh
26
- links :
27
- - postgres:postgres
28
14
validator :
29
15
image : validator
30
16
environment :
31
17
- DOCKER= true
32
- depends_on :
33
- - postgres-post
34
- links :
35
- - postgres-post:postgres-post
36
18
volumes :
37
19
- ../config:/validator/config
38
20
- ./blobber${BLOBBER}/data:/validator/data
Original file line number Diff line number Diff line change @@ -4,34 +4,17 @@ services:
4
4
image : postgres:14
5
5
volumes :
6
6
- ./blobber${BLOBBER}/data/postgresql:/var/lib/postgresql/data
7
+ - ./sql_init:/docker-entrypoint-initdb.d
7
8
networks :
8
9
default :
9
10
ports :
10
11
- " 543${BLOBBER}:5432"
11
12
labels :
12
13
zchain : " postgres"
13
- postgres-post :
14
- image : postgres:14
15
- environment :
16
- POSTGRES_PORT : 5432
17
- POSTGRES_HOST : postgres
18
- POSTGRES_USER : postgres
19
- volumes :
20
- - ../bin:/blobber/bin
21
- - ../sql:/blobber/sql
22
- labels :
23
- zchain : " postgres-post"
24
- command : bash /blobber/bin/postgres-entrypoint.sh
25
- links :
26
- - postgres:postgres
27
14
validator :
28
15
image : validator
29
16
environment :
30
17
- DOCKER= true
31
- depends_on :
32
- - postgres-post
33
- links :
34
- - postgres-post:postgres-post
35
18
volumes :
36
19
- ../config:/validator/config
37
20
- ./blobber${BLOBBER}/data:/validator/data
You can’t perform that action at this time.
0 commit comments