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