updated the ports to env and also removed the gpu push for ollama

This commit is contained in:
admin 2025-05-20 10:43:04 -06:00
parent 4a6d0f73f1
commit 40c592b0ca

View File

@ -5,7 +5,7 @@ services:
image: ghcr.io/gethomepage/homepage:latest image: ghcr.io/gethomepage/homepage:latest
container_name: homepage-changemaker container_name: homepage-changemaker
ports: ports:
- 3010:3000 - "${HOMEPAGE_PORT:-3010}:3000"
volumes: volumes:
- ./configs/homepage:/app/config - ./configs/homepage:/app/config
- ./assets/icons:/app/public/icons - ./assets/icons:/app/public/icons
@ -24,7 +24,7 @@ services:
image: ghcr.io/gethomepage/homepage:latest image: ghcr.io/gethomepage/homepage:latest
container_name: homepage-changemaker-local container_name: homepage-changemaker-local
ports: ports:
- 3011:3000 - "${HOMEPAGE_LOCAL_PORT:-3011}:3000"
volumes: volumes:
- ./configs/homepage-local:/app/config - ./configs/homepage-local:/app/config
- ./assets/icons:/app/public/icons - ./assets/icons:/app/public/icons
@ -136,7 +136,7 @@ services:
container_name: listmonk_app container_name: listmonk_app
restart: unless-stopped restart: unless-stopped
ports: ports:
- "9000:9000" - "${LISTMONK_PORT:-9000}:9000"
networks: networks:
- changemaker - changemaker
hostname: ${LISTMONK_HOSTNAME} hostname: ${LISTMONK_HOSTNAME}
@ -166,7 +166,7 @@ services:
container_name: listmonk-db container_name: listmonk-db
restart: unless-stopped restart: unless-stopped
ports: ports:
- "0.0.0.0:5432:5432" - "${LISTMONK_DB_PORT:-5432}:5432"
networks: networks:
- changemaker - changemaker
environment: environment:
@ -190,7 +190,7 @@ services:
depends_on: depends_on:
- monica-db - monica-db
ports: ports:
- 8085:80 - "${MONICA_PORT:-8085}:80"
environment: environment:
- APP_KEY=${MONICA_APP_KEY} - APP_KEY=${MONICA_APP_KEY}
- DB_HOST=monica-db - DB_HOST=monica-db
@ -245,7 +245,7 @@ services:
volumes: volumes:
- ./mkdocs/site:/config/www # Mounts your static site to Nginx's web root - ./mkdocs/site:/config/www # Mounts your static site to Nginx's web root
ports: ports:
- "4001:80" # Exposes Nginx's port 80 to host port 4001 - "${MKDOCS_SITE_SERVER_PORT:-4001}:80" # Exposes Nginx's port 80 to host port 4001
restart: unless-stopped restart: unless-stopped
networks: networks:
- changemaker - changemaker
@ -291,17 +291,10 @@ services:
ollama: ollama:
image: ollama/ollama image: ollama/ollama
container_name: ollama-changemaker container_name: ollama-changemaker
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
volumes: volumes:
- ollama:/root/.ollama - ollama:/root/.ollama
ports: ports:
- "11435:11434" - "${OLLAMA_PORT:-11435}:11434"
restart: unless-stopped restart: unless-stopped
networks: networks:
- changemaker - changemaker
@ -367,8 +360,8 @@ services:
networks: networks:
- changemaker - changemaker
ports: ports:
- "8005:8000" - "${PORTAINER_PORT:-8005}:8000"
- "9444:9443" - "${PORTAINER_HTTPS_PORT:-9444}:9443"
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
- portainer_data:/data - portainer_data:/data
@ -378,7 +371,7 @@ services:
image: ghcr.io/lyqht/mini-qr:latest image: ghcr.io/lyqht/mini-qr:latest
container_name: mini-qr container_name: mini-qr
ports: ports:
- 8081:8080 - "${MINI_QR_PORT:-8081}:8080"
restart: unless-stopped restart: unless-stopped
networks: networks:
- changemaker - changemaker
@ -398,8 +391,8 @@ services:
volumes: volumes:
- ./configs/ferdium:/config - ./configs/ferdium:/config
ports: ports:
- 3009:3009 - "${FERDIUM_PORT:-3009}:3009"
- 3006:3006 - "${FERDIUM_HTTPS_PORT:-3006}:3006"
shm_size: "1gb" shm_size: "1gb"
restart: unless-stopped restart: unless-stopped
networks: networks:
@ -431,7 +424,7 @@ services:
NC_DB: "pg://root_db:5432?u=postgres&p=password&d=root_db" NC_DB: "pg://root_db:5432?u=postgres&p=password&d=root_db"
image: "nocodb/nocodb:latest" image: "nocodb/nocodb:latest"
ports: ports:
- "8090:8080" - "${NOCODB_PORT:-8090}:8080"
restart: always restart: always
volumes: volumes:
- "nc_data:/usr/app/data" - "nc_data:/usr/app/data"