mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-03-28 17:32:36 +01:00
Update compose.yaml
This commit is contained in:
12
compose.yaml
12
compose.yaml
@@ -5,9 +5,9 @@ services:
|
||||
meshing-around:
|
||||
ports:
|
||||
- 8420:8420
|
||||
devices: # Optional if using meshtasticd. Pass through radio device.
|
||||
- /dev/ttyUSB0 # Replace this with your actual device!
|
||||
#- /dev/ttyAMA0 # Example
|
||||
devices:
|
||||
#- /dev/ttyUSB0 # Replace this with your actual device!
|
||||
- /dev/ttyAMA0
|
||||
volumes:
|
||||
- .:/app:ro
|
||||
- ./logs:/app/logs:rw
|
||||
@@ -18,7 +18,7 @@ services:
|
||||
environment:
|
||||
- OLLAMA_API_URL=http://ollama:11434
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway" # Enables access to host services from within the container.
|
||||
- "host.docker.internal:host-gateway" # Enables access debug-console
|
||||
#user: "1000:1000" # non-root user for better security
|
||||
#user: "10999:10999" # for Docker Desktop compatibility
|
||||
|
||||
@@ -33,7 +33,7 @@ services:
|
||||
- ./logs:/app/logs:rw
|
||||
- ./data:/app/data:rw
|
||||
|
||||
meshtasticd: # Runs a virtual node. Optional, but can be used to link meshing-around directly to mqtt.
|
||||
meshtasticd: # Optional service for Meshtastic device management.
|
||||
ports:
|
||||
- 4403:4403
|
||||
restart: unless-stopped
|
||||
@@ -43,8 +43,6 @@ services:
|
||||
ollama: # Used for enabling LLM interactions.
|
||||
ports:
|
||||
- 11434:11434 # Ollama API port
|
||||
volumes:
|
||||
- /data/ollama:/root/.ollama
|
||||
container_name: ollama
|
||||
image: ollama/ollama:latest
|
||||
restart: unless-stopped
|
||||
|
||||
Reference in New Issue
Block a user