forked from harry0703/MoneyPrinterTurbo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
24 lines (23 loc) · 817 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
24 lines (23 loc) · 817 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
x-common-volumes: &common-volumes
- ./:/MoneyPrinterTurbo
services:
webui:
build:
context: .
dockerfile: Dockerfile
container_name: "moneyprinterturbo-webui"
ports:
- "127.0.0.1:8501:8501"
command: [ "streamlit", "run", "./webui/Main.py", "--server.address=0.0.0.0", "--server.port=8501", "--browser.serverAddress=127.0.0.1", "--server.enableCORS=True", "--browser.gatherUsageStats=False", "--client.toolbarMode=minimal", "--logger.hideWelcomeMessage=True", "--server.showEmailPrompt=False" ]
volumes: *common-volumes
restart: always
api:
build:
context: .
dockerfile: Dockerfile
container_name: "moneyprinterturbo-api"
ports:
- "127.0.0.1:8080:8080"
command: [ "python3", "main.py" ]
volumes: *common-volumes
restart: always