Просмотр исходного кода

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 3 лет назад
Родитель
Сommit
5e28222332
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      docker-compose.yml

+ 1 - 1
docker-compose.yml

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