Created
February 19, 2026 09:06
-
-
Save mayukojpn/cdea606eca424fcd88e734e16ab6ff44 to your computer and use it in GitHub Desktop.
Ollama Docker Container
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # コンテナ起動コマンド | |
| # docker compose -f docker-compose.ollama.yml up -d | |
| services: | |
| ollama: | |
| image: ollama/ollama:latest | |
| container_name: ollama | |
| ports: | |
| # localhostのみにバインド(セキュリティ) | |
| - "127.0.0.1:11434:11434" | |
| volumes: | |
| - ollama-data:/root/.ollama | |
| restart: unless-stopped | |
| networks: | |
| - openclaw-network | |
| volumes: | |
| ollama-data: | |
| networks: | |
| openclaw-network: | |
| driver: bridge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment