MoneyPrinterTurbo/docker-compose.yml
2025-03-10 22:13:50 +01:00

24 lines
616 B
YAML

x-common-volumes: &common-volumes
- ./:/MoneyPrinterTurbo
services:
# webui:
# build:
# context: .
# dockerfile: Dockerfile
# container_name: "webui"
# ports:
# - "8501:8501"
# command: [ "streamlit", "run", "./webui/Main.py","--browser.serverAddress=127.0.0.1","--server.enableCORS=True","--browser.gatherUsageStats=False" ]
# volumes: *common-volumes
# restart: always
api:
build:
context: .
dockerfile: Dockerfile
container_name: "api"
ports:
- "8080:8080"
command: [ "python3", "main.py" ]
volumes: *common-volumes
restart: always