Compare commits

..

No commits in common. "08485f3e1c1cb79b3cd7286afe8d1c68b502ef38" and "a7f45c3b0f499d298c09291a28deedf9268ea8e5" have entirely different histories.

View File

@ -9,8 +9,7 @@ services:
- "80:80" - "80:80"
- "443:443" - "443:443"
volumes: volumes:
#- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
- "////./pipe/docker_engine:/var/run/docker.sock"
- ./traefik.yml:/etc/traefik/traefik.yml - ./traefik.yml:/etc/traefik/traefik.yml
- ./authorized_users:/etc/traefik/authorized_users - ./authorized_users:/etc/traefik/authorized_users
- ./acme.json:/acme.json - ./acme.json:/acme.json
@ -55,32 +54,41 @@ services:
# Docker engine # Docker engine
- --providers.docker.endpoint=npipe:////./pipe/docker_engine - --providers.docker.endpoint=npipe:////./pipe/docker_engine
minecraft-test-docker: ollama:
image: itzg/minecraft-server image: ollama/ollama
restart: unless-stopped restart: unless-stopped
volumes: container_name: ollama
- "./mc:/data"
ports: ports:
- "25565:25565" - '11434:11434'
volumes:
- './ollama:/root/.ollama'
ollama-webui:
image: 'ghcr.io/ollama-webui/ollama-webui:main'
restart: unless-stopped
container_name: ollama-webui
volumes:
- './ollama-webui:/app/backend/data'
depends_on:
- ollama
ports:
- 80:8080
environment: environment:
EULA: "TRUE" - './ollama/api=http://ollama:11434/api'
TYPE: FORGE extra_hosts:
VERSION: "1.20.1" - host.docker.internal:host-gateway
FORGE_VERSION: "47.2.32" labels:
ENABLE_AUTOPAUSE: "TRUE" - "traefik.enable=true"
INIT_MEMORY: "256M" - "traefik.http.routers.ollama-webui-http.entrypoints=http"
MAX_MEMORY: "25G" - "traefik.http.routers.ollama-webui-http.rule=Host(`ollama.localhost/`)"
TZ: "Europe/Berne" - "traefik.http.routers.ollama-webui-http.middlewares=ollama-webui-redirect"
- "traefik.http.middlewares.ollama-webui-redirect.redirectscheme.scheme=https"
OVERRIDE_SERVER_PROPERTIES: "TRUE" - "traefik.http.routers.ollama-webui-https.entrypoints=https"
MAX_TICK_TIME: "-1" - "traefik.http.routers.ollama-webui-https.rule=Host(`ollama.localhost/`)"
DIFFICULTY: "normal" - "traefik.http.routers.ollama-webui-https.tls.certResolver=letsencrypt"
MODE: "creative" - "traefik.http.routers.ollama-webui-https.service=ollama-webui"
MOTD: "Welcome Home" - "traefik.http.routers.ollama-webui-https.middlewares=ollama-webui-auth"
- "traefik.http.middlewares.ollama-webui-auth.basicauth.usersfile=/etc/traefik/authorized_users"
# More aggressive settings for demo purposes
AUTOPAUSE_TIMEOUT_INIT: "30"
AUTOPAUSE_TIMEOUT_EST: "10"
lazytainer: lazytainer:
image: ghcr.io/vmorganp/lazytainer:master image: ghcr.io/vmorganp/lazytainer:master