This commit is contained in:
Moritz 2023-10-10 17:25:39 +02:00
parent acbe081684
commit cd463f3002
3 changed files with 26 additions and 1 deletions

21
README.md Normal file
View file

@ -0,0 +1,21 @@
# ChatGPT CLI
<!-- metadata -->
* **Category**: Utilities
* **Status**: 0, work-in-progress
* **Image**: , 4, local
* **Healthcheck**: No
* **Backups**: N/A
* **Email**: N/A
* **Tests**: No
* **SSO**: N/A
<!-- endmetadata -->
# Deployment
Copy the Dockerfile to the server and build it:
```
docker build -t chatgpt .
```

View file

@ -0,0 +1 @@
export CONFIG_VERSION=v1

View file

@ -3,6 +3,9 @@ version: "3.8"
services: services:
app: app:
image: chatgpt image: chatgpt
deploy:
labels:
- coop-cloud.${STACK_NAME}.version=0.0.1+latest
#build: . #build: .
environment: environment:
- OPENAI_API_KEY - OPENAI_API_KEY
@ -12,5 +15,5 @@ services:
configs: configs:
config: config:
name: config name: ${STACK_NAME}_config_${CONFIG_VERSION}
file: config.yaml file: config.yaml