| 1 | x-common-volumes: &common-volumes |
| 2 | - ./:/MoneyPrinterTurbo |
| 3 | |
| 4 | services: |
| 5 | webui: |
| 6 | build: |
| 7 | context: . |
| 8 | dockerfile: Dockerfile |
| 9 | container_name: "moneyprinterturbo-webui" |
| 10 | ports: |
| 11 | - "127.0.0.1:8501:8501" |
| 12 | command: [ "streamlit", "run", "./webui/Main.py","--browser.serverAddress=127.0.0.1","--server.enableCORS=True","--browser.gatherUsageStats=False","--server.showEmailPrompt=False" ] |
| 13 | volumes: *common-volumes |
| 14 | restart: always |
| 15 | api: |
| 16 | build: |
| 17 | context: . |
| 18 | dockerfile: Dockerfile |
| 19 | container_name: "moneyprinterturbo-api" |
| 20 | ports: |
| 21 | - "127.0.0.1:8080:8080" |
| 22 | command: [ "python3", "main.py" ] |
| 23 | volumes: *common-volumes |
| 24 | restart: always |
| 25 |