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

18 lines
354 B
YAML
Raw Normal View History

2024-03-14 17:27:33 +08:00
version: '3'
services:
ollama:
image: ollama/ollama:0.1.31
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