Add profile for ngrok

This commit is contained in:
Plague Fox 2023-04-10 18:59:58 +04:00
parent fe1027595f
commit 55be63ffae
2 changed files with 3 additions and 1 deletions

View file

@ -20,10 +20,11 @@ build:
# Web UI: http://localhost:7860/ # Web UI: http://localhost:7860/
start: start:
@docker compose --profile auto up -d @docker compose --profile auto up -d
@docker compose --profile ngrok up -d
# Stop the docker container # Stop the docker container
stop: stop:
@docker compose --profile auto down @docker compose down
run: start run: start

View file

@ -85,6 +85,7 @@ services:
image: ngrok/ngrok:latest image: ngrok/ngrok:latest
container_name: ngrok container_name: ngrok
restart: unless-stopped restart: unless-stopped
profiles: ["ngrok"]
command: command:
- "start" - "start"
- "--all" - "--all"