This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Opening config file: /etc/tsuru/tsuru.conf | |
| Done reading config file: /etc/tsuru/tsuru.conf | |
| Using mongodb database "tsurudb" from the server "127.0.0.1:27017". | |
| Using hipache router "10.0.2.15.nip.io" with redis at "localhost:6379". | |
| Using "docker" provisioner. | |
| Cluster Storage: Unable to connect to mongodb: no reachable servers (docker:cluster:mongo-url = "127.0.0.1:27017"; docker:cluster:mongo-database = "dockercluster") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| listen: "0.0.0.0:8080" | |
| host: http://10.0.2.15:8080 | |
| debug: true | |
| admin-team: admin | |
| database: | |
| url: 127.0.0.1:27017 | |
| name: tsurudb | |
| git: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class GooglonComparador: | |
| def __init__(self, obj, *args): | |
| self.obj = obj | |
| self.ordem_dict = {} | |
| for i, letra in enumerate('zmbtshjpnwlrcxkqvdgf'): | |
| self.ordem_dict[letra] = i | |
| # Menor que = Less than | |
| def __lt__(self, other): | |
| return self._comparar(self.obj, other.obj) < 0 | |
| # Maior que = Greater than |
NewerOlder