appstore-1panel/apps/ollama/0.2.1/docker-compose.yml

17 lines
340 B
YAML
Raw Normal View History

2024-03-14 17:27:33 +08:00
services:
ollama:
image: ollama/ollama:0.2.1
2024-03-14 17:27:33 +08:00
container_name: ${CONTAINER_NAME}
restart: unless-stopped
ports:
- ${PANEL_APP_PORT_HTTP}:11434
networks:
- 1panel-network
tty: true
volumes:
- ./data:/root/.ollama
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true