mirror of
https://github.com/harry0703/MoneyPrinterTurbo.git
synced 2026-02-21 16:37:21 +08:00
Update docker-compose.yml
This commit is contained in:
parent
ffcfe8e03b
commit
5b20fc2a67
@ -1,6 +1,3 @@
|
||||
x-common-volumes: &common-volumes
|
||||
- ./:/MoneyPrinterTurbo
|
||||
|
||||
services:
|
||||
webui:
|
||||
build:
|
||||
@ -10,7 +7,9 @@ services:
|
||||
ports:
|
||||
- "8501:8501"
|
||||
command: [ "streamlit", "run", "./webui/Main.py","--browser.serverAddress=127.0.0.1","--server.enableCORS=True","--browser.gatherUsageStats=False" ]
|
||||
volumes: *common-volumes
|
||||
volumes:
|
||||
- ./config.toml:/MoneyPrinterTurbo/config.toml
|
||||
- ./storage:/MoneyPrinterTurbo/storage
|
||||
restart: always
|
||||
api:
|
||||
build:
|
||||
@ -20,5 +19,7 @@ services:
|
||||
ports:
|
||||
- "8080:8080"
|
||||
command: [ "python3", "main.py" ]
|
||||
volumes: *common-volumes
|
||||
restart: always
|
||||
volumes:
|
||||
- ./config.toml:/MoneyPrinterTurbo/config.toml
|
||||
- ./storage:/MoneyPrinterTurbo/storage
|
||||
restart: always
|
||||
|
||||
Loading…
Reference in New Issue
Block a user