Skip to content

Commit

Permalink
*: Never restart any service
Browse files Browse the repository at this point in the history
Make it scream about its breaking state. A stopped service it easier to find,
its logs are clearer and running some tests will not hide any error that may
happen only once in a while.

Signed-off-by: Pavel Karpy <[email protected]>
  • Loading branch information
carpawell committed Mar 6, 2024
1 parent c5b916e commit f585bcf
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 10 deletions.
1 change: 1 addition & 0 deletions services/chain/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ services:
start_period: 5s
domainname: ${LOCAL_DOMAIN}
hostname: main-chain
restart: no
networks:
chain_int:
internet:
Expand Down
1 change: 1 addition & 0 deletions services/coredns/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ services:
container_name: coredns
domainname: ${LOCAL_DOMAIN}
hostname: coredns
restart: no
networks:
coredns:
internet:
Expand Down
2 changes: 1 addition & 1 deletion services/http_gate/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
domainname: ${LOCAL_DOMAIN}
hostname: http_gate
container_name: http_gate
restart: on-failure
restart: no
dns:
- ${IPV4_PREFIX}.53
networks:
Expand Down
2 changes: 1 addition & 1 deletion services/ir/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
domainname: ${LOCAL_DOMAIN}
hostname: ir01
container_name: ir01
restart: on-failure
restart: no
networks:
ir_int:
internet:
Expand Down
2 changes: 1 addition & 1 deletion services/k6_node/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ services:
- 2222:2222
hostname: k6-node
container_name: k6-node
restart: on-failure
restart: no
networks:
k6_node_int:
internet:
Expand Down
2 changes: 1 addition & 1 deletion services/nats/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
domainname: ${LOCAL_DOMAIN}
hostname: nats
container_name: nats
restart: on-failure
restart: no
dns:
- ${IPV4_PREFIX}.101
networks:
Expand Down
2 changes: 1 addition & 1 deletion services/rest_gate/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
domainname: ${LOCAL_DOMAIN}
hostname: rest
container_name: rest_gate
restart: on-failure
restart: no
networks:
rest_gate_int:
internet:
Expand Down
2 changes: 1 addition & 1 deletion services/s3_gate/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
domainname: ${LOCAL_DOMAIN}
hostname: s3_gate
container_name: s3_gate
restart: on-failure
restart: no
dns:
- ${IPV4_PREFIX}.53
networks:
Expand Down
8 changes: 4 additions & 4 deletions services/storage/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
domainname: ${LOCAL_DOMAIN}
hostname: s01
container_name: s01
restart: on-failure
restart: no
networks:
storage_int:
internet:
Expand Down Expand Up @@ -46,7 +46,7 @@ services:
domainname: ${LOCAL_DOMAIN}
hostname: s02
container_name: s02
restart: on-failure
restart: no
networks:
storage_int:
internet:
Expand Down Expand Up @@ -85,7 +85,7 @@ services:
domainname: ${LOCAL_DOMAIN}
hostname: s03
container_name: s03
restart: on-failure
restart: no
networks:
storage_int:
internet:
Expand Down Expand Up @@ -124,7 +124,7 @@ services:
domainname: ${LOCAL_DOMAIN}
hostname: s04
container_name: s04
restart: on-failure
restart: no
networks:
storage_int:
internet:
Expand Down

0 comments on commit f585bcf

Please sign in to comment.