mirror of
https://github.com/wahyd4/FreeAskInternet.git
synced 2026-08-25 04:56:12 +10:00
add restart config to docker-compose.yaml
This commit is contained in:
@@ -38,7 +38,7 @@ This project is still in its very early days. Expect some bugs.
|
||||
```bash
|
||||
git clone https://github.com/nashsu/FreeAskInternet.git
|
||||
cd ./FreeAskInternet
|
||||
docker-compose up
|
||||
docker-compose up -d
|
||||
```
|
||||
|
||||
🎉 You should now be able to open the web interface on http://localhost:3000. Nothing else is exposed by default.
|
||||
@@ -51,7 +51,7 @@ cd ./FreeAskInternet
|
||||
git pull
|
||||
docker compose rm backend
|
||||
docker image rm nashsu/free_ask_internet
|
||||
docker-compose up
|
||||
docker-compose up -d
|
||||
```
|
||||
|
||||
|
||||
|
||||
+3
-1
@@ -17,6 +17,7 @@ services:
|
||||
CUSTOM_MODELS: "-all,+gpt-3.5-turbo"
|
||||
depends_on:
|
||||
- freegpt35
|
||||
restart: always
|
||||
|
||||
freegpt35:
|
||||
image: missuo/freegpt35:latest
|
||||
@@ -38,4 +39,5 @@ services:
|
||||
driver: 'json-file'
|
||||
options:
|
||||
max-size: '1m'
|
||||
max-file: '1'
|
||||
max-file: '1'
|
||||
restart: always
|
||||
|
||||
Reference in New Issue
Block a user