allpaca/compose.yml

28 lines
450 B
YAML
Raw Permalink Normal View History

2024-07-17 17:54:48 +02:00
services:
ollama:
image: ollama/ollama:latest
volumes:
- /root/.ollama:/root/.ollama
backend:
build: backend
working_dir: /opt/allpaca/backend
volumes:
- ./:/opt/allpaca
environment:
- RUST_BACKTRACE=1
frontend:
build: frontend
working_dir: /opt/allpaca/frontend
volumes:
- ./:/opt/allpaca
nginx:
image: nginx:latest
volumes:
- ./frontend/dist:/srv/www
- ./nginx.conf:/etc/nginx/nginx.conf
ports:
- 80:80