File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ CAMERA_URLS = http://192.168.15.94:8080
2+ # rtsp://username:password@192.168.1.11/live0,
3+ # http://username:password@192.168.1.12/stream.mjpeg,
4+ TOKENS = pcw4XFlsnZ9gJ5AiVIFF
5+
6+ # FRAME_CAPTURE_DELAY=1
7+ # CAMERA_CYCLE_DELAY=10
8+ # CONNECTION_TIMEOUT_DELAY=5
Original file line number Diff line number Diff line change 1+ # camera2prusa
2+
3+ Camera streaming to Prusa Connect
4+
5+ ## Configuration
6+
7+ ### Environment Variables
8+
9+ Copy ` .env.example ` to ` .env ` and configure:
10+
11+ ``` bash
12+ cp .env.example .env
13+ # Edit .env with your settings
14+ ```
15+
16+ ## Usage
17+
18+ ### Starting the service
19+
20+ ``` bash
21+ docker compose up -d
22+ ```
23+
24+ ### Stopping the service
25+
26+ ``` bash
27+ docker compose down
28+ ```
29+
30+ ### Viewing logs
31+
32+ ``` bash
33+ docker compose logs -f
34+ ```
Original file line number Diff line number Diff line change 1+ services :
2+ camera2prusa :
3+ image : jtee3d/prusa_connect_rtsp:${IMAGE_VERSION:-latest}
4+ container_name : camera2prusa
5+ hostname : camera2prusa
6+ restart : unless-stopped
7+ env_file :
8+ - .env
Original file line number Diff line number Diff line change 1+ STREAMLIT_SERVER_HEADLESS = true
2+ WEBUI_SCRIPT = webui_streamlit.py
3+ VALIDATE_MODELS = false
4+ GPU_COUNT = 1
5+
Original file line number Diff line number Diff line change 1+ # stable-diffusion-webui
2+
3+ Stable Diffusion image generation web interface
4+
5+ ## Configuration
6+
7+ ### Environment Variables
8+
9+ Copy ` .env.example ` to ` .env ` and configure:
10+
11+ ``` bash
12+ cp .env.example .env
13+ # Edit .env with your settings
14+ ```
15+
16+ ## Usage
17+
18+ ### Starting the service
19+
20+ ``` bash
21+ docker compose up -d
22+ ```
23+
24+ ### Stopping the service
25+
26+ ``` bash
27+ docker compose down
28+ ```
29+
30+ ### Viewing logs
31+
32+ ``` bash
33+ docker compose logs -f
34+ ```
Original file line number Diff line number Diff line change 1+ services :
2+ stable-diffusion-web-ui :
3+ image : tukirito/sygil-webui:${IMAGE_VERSION:-latest}
4+ container_name : stable-diffusion-web-ui
5+ hostname : stable-diffusion-web-ui
6+ restart : unless-stopped
7+ volumes :
8+ - ../../lib/stable-diffusion-web-ui/outputs:/sd/outputs
9+ - ../../lib/stable-diffusion-web-ui/models:/sd/models
10+ - ../../log/stable-diffusion-web-ui:/sd/logs
11+ # ports:
12+ # - 8501:8501
13+ env_file :
14+ - .env
15+ networks :
16+ - proxy
17+ deploy :
18+ resources :
19+ reservations :
20+ devices :
21+ - driver : nvidia
22+ count : " ${GPU_COUNT}"
23+ capabilities : [gpu]
24+ networks :
25+ proxy :
26+ name : nginx-proxy-net
27+ external : true
You can’t perform that action at this time.
0 commit comments