Skip to content

Instantly share code, notes, and snippets.

View FirstShanti's full-sized avatar
🇺🇦

Vladislav Shevchenko FirstShanti

🇺🇦
View GitHub Profile
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.
"""
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
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