This file contains 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
from __future__ import annotations | |
from abc import ABC, abstractmethod | |
from typing import List | |
""" | |
Define a family of algorithms, encapsulate each one, and make them | |
interchangeable. Strategy lets the algorithm vary independently from | |
clients that use it. | |
""" |
This file contains 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
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES | |
91689da7e6f4 test_active_wizards_client "python app.py" About an hour ago Up 6 minutes 0.0.0.0:5001->5001/tcp test_active_wizards_client_1 | |
fb3d4d952a3b test_active_wizards_server "python main.py" About an hour ago Up 6 minutes 0.0.0.0:5000->5000/tcp test_active_wizards_server_1 | |
c8c046895ad5 mongo:latest "docker-entrypoint.s…" About an hour ago Up 6 minutes 0.0.0.0:27017->27017/tcp test_active_wizards_mongo_1 |
This file contains 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
version: '3.3' | |
services: | |
mongo: | |
image: mongo:latest | |
volumes: | |
- .data/mdata:/data/db | |
ports: | |
- "27017:27017" | |
command: mongod --port 27017 --bind_ip 0.0.0.0 |