@@ -16,16 +16,16 @@ services:
16
16
- "{{ beaconchain_explorer_aio_installation_dir }}/explorer/config.yml:/config.yml:ro"
17
17
- "{{ beaconchain_explorer_aio_installation_dir }}/explorer/custom_configs:/custom_configs:ro"
18
18
- "{{ beaconchain_explorer_aio_data_dir_explorer }}:/data"
19
- {% - if beaconchain_explorer_aio_bigtable_external_enabled %}
19
+ {% if beaconchain_explorer_aio_bigtable_external_enabled %}
20
20
- "{{ beaconchain_explorer_aio_installation_dir }}/bigtable_secret.json:/bigtable_secret.json:ro"
21
- {% - endif %}
21
+ {% endif %}
22
22
environment:
23
23
- INDEXER_ENABLED=true
24
- {% - if beaconchain_explorer_aio_bigtable_external_enabled %}
24
+ {% if beaconchain_explorer_aio_bigtable_external_enabled %}
25
25
- GOOGLE_APPLICATION_CREDENTIALS=/bigtable_secret.json
26
- {% - else %}
26
+ {% else %}
27
27
- BIGTABLE_EMULATOR_HOST=beaconchain_bigtable:9000
28
- {% - endif %}
28
+ {% endif %}
29
29
ports:
30
30
- 8082:8082
31
31
#######################################################################
@@ -42,15 +42,15 @@ services:
42
42
- "{{ beaconchain_explorer_aio_installation_dir }}/explorer/config.yml:/config.yml:ro"
43
43
- "{{ beaconchain_explorer_aio_installation_dir }}/explorer/custom_configs:/custom_configs:ro"
44
44
- "{{ beaconchain_explorer_aio_data_dir_explorer }}:/data"
45
- {% - if beaconchain_explorer_aio_bigtable_external_enabled %}
45
+ {% if beaconchain_explorer_aio_bigtable_external_enabled %}
46
46
- "{{ beaconchain_explorer_aio_installation_dir }}/bigtable_secret.json:/bigtable_secret.json:ro"
47
- {% - endif %}
47
+ {% endif %}
48
48
environment:
49
- {% - if beaconchain_explorer_aio_bigtable_external_enabled %}
49
+ {% if beaconchain_explorer_aio_bigtable_external_enabled %}
50
50
- GOOGLE_APPLICATION_CREDENTIALS=/bigtable_secret.json
51
- {% - else %}
51
+ {% else %}
52
52
- BIGTABLE_EMULATOR_HOST=beaconchain_bigtable:9000
53
- {% - endif %}
53
+ {% endif %}
54
54
#######################################################################
55
55
statistics:
56
56
container_name: beaconchain_statistics
@@ -65,16 +65,16 @@ services:
65
65
- "{{ beaconchain_explorer_aio_installation_dir }}/explorer/config.yml:/config.yml:ro"
66
66
- "{{ beaconchain_explorer_aio_installation_dir }}/explorer/custom_configs:/custom_configs:ro"
67
67
- "{{ beaconchain_explorer_aio_data_dir_explorer }}:/data"
68
- {% - if beaconchain_explorer_aio_bigtable_external_enabled %}
68
+ {% if beaconchain_explorer_aio_bigtable_external_enabled %}
69
69
- "{{ beaconchain_explorer_aio_installation_dir }}/bigtable_secret.json:/bigtable_secret.json:ro"
70
- {% - endif %}
70
+ {% endif %}
71
71
environment:
72
72
- INDEXER_ENABLED=false
73
- {% - if beaconchain_explorer_aio_bigtable_external_enabled %}
73
+ {% if beaconchain_explorer_aio_bigtable_external_enabled %}
74
74
- GOOGLE_APPLICATION_CREDENTIALS=/bigtable_secret.json
75
- {% - else %}
75
+ {% else %}
76
76
- BIGTABLE_EMULATOR_HOST=beaconchain_bigtable:9000
77
- {% - endif %}
77
+ {% endif %}
78
78
#######################################################################
79
79
frontend-updater:
80
80
container_name: beaconchain_frontend_updater
@@ -96,7 +96,7 @@ services:
96
96
- FRONTEND_ENABLED=true
97
97
{% if beaconchain_explorer_aio_bigtable_external_enabled %}
98
98
- GOOGLE_APPLICATION_CREDENTIALS=/bigtable_secret.json
99
- {% - else %}
99
+ {% else %}
100
100
- BIGTABLE_EMULATOR_HOST=beaconchain_bigtable:9000
101
101
{% endif %}
102
102
@@ -123,7 +123,7 @@ services:
123
123
- FRONTEND_ENABLED=true
124
124
{% if beaconchain_explorer_aio_bigtable_external_enabled %}
125
125
- GOOGLE_APPLICATION_CREDENTIALS=/bigtable_secret.json
126
- {% - else %}
126
+ {% else %}
127
127
- BIGTABLE_EMULATOR_HOST=beaconchain_bigtable:9000
128
128
{% endif %}
129
129
#######################################################################
@@ -157,7 +157,7 @@ services:
157
157
- "{{ beaconchain_explorer_aio_installation_dir }}/postgres/tables.sql:/docker-entrypoint-initdb.d/init.sql"
158
158
- "{{ beaconchain_explorer_aio_data_dir_postgres }}:/var/lib/postgresql/data"
159
159
#######################################################################
160
- {% - if not beaconchain_explorer_aio_bigtable_external_enabled %}
160
+ {% if not beaconchain_explorer_aio_bigtable_external_enabled %}
161
161
bigtable:
162
162
container_name: beaconchain_bigtable
163
163
image: "{{ beaconchain_explorer_aio_docker_image_bigtable }}"
@@ -177,4 +177,4 @@ services:
177
177
- "{{ beaconchain_explorer_aio_installation_dir }}/bigtable/cbt-definitions.yml:/cbt-definitions.yml"
178
178
- "{{ beaconchain_explorer_aio_installation_dir }}/bigtable/eth1.proto:/eth1.proto"
179
179
- "{{ beaconchain_explorer_aio_data_dir_bigtable }}:/data"
180
- {% - endif %}
180
+ {% endif %}
0 commit comments