Parcourir la source

Allow setting port through env WEBUI_PORT (#521)

I am actually not happy with this solution, I would prefer if it was
possible to customize the ports within `docker-compose.override.yml`
AbdBarho il y a 3 ans
Parent
commit
5e28222332
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      docker-compose.yml

+ 1 - 1
docker-compose.yml

@@ -2,7 +2,7 @@ version: '3.9'
 
 
 x-base_service: &base_service
 x-base_service: &base_service
     ports:
     ports:
-      - "7860:7860"
+      - "${WEBUI_PORT:-7860}:7860"
     volumes:
     volumes:
       - &v1 ./data:/data
       - &v1 ./data:/data
       - &v2 ./output:/output
       - &v2 ./output:/output