Last active
September 9, 2022 08:36
-
-
Save nampdn/b1f576d9e6b4df56efbdbd24c7a624bd to your computer and use it in GitHub Desktop.
caprover-templates
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
captainVersion: 4 | |
version: '3' | |
services: | |
$$cap_appname: | |
restart: unless-stopped | |
volumes: | |
- $$cap_workspace_path:/workspace | |
environment: | |
AUTHENTICATE_VIA_JUPYTER: $$cap_jupyterlab_token | |
caproverExtra: | |
containerHttpPort: '8080' | |
dockerfileLines: | |
- FROM mltooling/ml-workspace:0.13.2 | |
- WORKDIR /workspace | |
caproverOneClickApp: | |
variables: | |
- label: JupyterLab Token | |
description: Authentication Web UI Token | |
defaultValue: MyVerySecretToken | |
id: $$cap_jupyterlab_token | |
- label: Workspace Path | |
description: Host path to mount predefined user_data | |
defaultValue: /mnt/app_freqtrade | |
id: $$cap_workspace_path | |
instructions: | |
end: > | |
The ML workspace is an all-in-one web-based IDE specialized for machine learning and data science. It is simple to deploy and gets you started within minutes to productively built ML solutions on your own machines. This workspace is the ultimate tool for developers preloaded with a variety of popular data science libraries (e.g., Tensorflow, PyTorch, Keras, Sklearn) and dev tools (e.g., Jupyter, VS Code, Tensorboard) perfectly configured, optimized, and integrated. | |
start: The ML workspace is an all-in-one web-based IDE specialized for machine learning and data science. | |
displayName: ml-workspace | |
isOfficial: false | |
description: ML Workspace | |
documentation: https://github.com/ml-tooling/ml-workspace |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
captainVersion: 4 | |
version: '3' | |
services: | |
$$cap_appname: | |
restart: unless-stopped | |
volumes: | |
- $$cap_user_data_path:/freqtrade/user_data | |
environment: | |
FREQTRADE_STRATEGY: $$cap_strategy | |
DATABASE_URL: $$cap_database_url | |
caproverExtra: | |
containerHttpPort: '8080' | |
dockerfileLines: | |
- FROM freqtradeorg/freqtrade:stable | |
- ENTRYPOINT [] | |
- CMD ["sh", "-c", "freqtrade trade --logfile /freqtrade/user_data/logs/freqtrade.log --db-url $DATABASE_URL --config /freqtrade/user_data/config.json --strategy $FREQTRADE_STRATEGY"] | |
caproverOneClickApp: | |
variables: | |
- label: Strategy | |
description: Trading Strategy | |
defaultValue: SampleStrategy | |
id: $$cap_strategy | |
- label: Host User Data Path | |
description: Host path to mount predefined user_data | |
defaultValue: /mnt/app_freqtrade | |
id: $$cap_user_data_path | |
- label: Database Connection String | |
description: SQL compatible connection string | |
defaultValue: sqlite:////freqtrade/user_data/tradesv3.sqlite | |
id: $$cap_database_url | |
instructions: | |
end: > | |
Freqtrade is deployed and available as $$cap_appname. | |
IMPORTANT: It will take up to 2 minutes for Freqtrade to be ready. Before that, you might see 502 error page. | |
start: Freqtrade is a free and open source crypto trading bot written in Python. It is designed to support all major exchanges and be controlled via Telegram or webUI. It contains backtesting, plotting and money management tools as well as strategy optimization by machine learning. | |
displayName: freqtrade | |
isOfficial: false | |
description: Free and open source crypto trading bot written in Python | |
documentation: https://www.freqtrade.io/en/stable/docker_quickstart/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment