project setup
This commit is contained in:
26
compose.yaml
Executable file
26
compose.yaml
Executable file
@@ -0,0 +1,26 @@
|
||||
services:
|
||||
ollama:
|
||||
image: ollama/ollama:rocm
|
||||
networks:
|
||||
- my_network
|
||||
volumes:
|
||||
- ~/.ollama:/root/.ollama # shared ollama configuration
|
||||
devices:
|
||||
- /dev/kfd:/dev/kfd
|
||||
- /dev/dri:/dev/dri
|
||||
|
||||
deno:
|
||||
image: denoland/deno:alpine
|
||||
build: .
|
||||
ports:
|
||||
- "6969:6969"
|
||||
networks:
|
||||
- my_network
|
||||
working_dir: /app
|
||||
volumes:
|
||||
- ./:/app # shared deno configuration
|
||||
command: deno task admin
|
||||
|
||||
networks:
|
||||
my_network:
|
||||
driver: bridge
|
||||
Reference in New Issue
Block a user