File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 37
37
38
38
- name : Create container
39
39
docker_container :
40
- name : ' {{ cardano_node_docker_container_name }}'
41
- image : ' {{ cardano_node_docker_image }}'
42
40
command :
43
41
- run
44
- restart_policy : unless-stopped
45
- ports :
46
- - ' {{ cardano_node_port }}:{{ cardano_node_container_port }}'
47
- - ' {{ cardano_node_metrics_port }}:{{ cardano_node_metrics_container_port }}'
42
+ image : ' {{ cardano_node_docker_image }}'
43
+ name : ' {{ cardano_node_docker_container_name }}'
48
44
env :
49
45
CARDANO_BLOCK_PRODUCER : ' {{ "true" if (cardano_node_block_producer | bool) else "false" }}'
50
46
CARDANO_CONFIG : ' {{ cardano_node_config_file }}'
60
56
CARDANO_TOPOLOGY : ' {{ cardano_node_topology_file }}'
61
57
RESTORE_SNAPSHOT : ' {{ "true" if (cardano_node_restore_snapshot | bool) else "false" }}'
62
58
SNAPSHOT_DIGEST : ' {{ cardano_node_snapshot_digest }}'
59
+ ports :
60
+ - ' {{ cardano_node_port }}:{{ cardano_node_container_port }}'
61
+ - ' {{ cardano_node_metrics_port }}:{{ cardano_node_metrics_container_port }}'
62
+ restart_policy : unless-stopped
63
+ stop_timeout : 300
63
64
volumes : ' {{ cardano_node_docker_volumes | list }}'
You can’t perform that action at this time.
0 commit comments