-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
23 lines (23 loc) · 975 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
version: "3.8"
services:
app:
container_name: gpt-email-api
image: vontainment/gpt-email-api:main # Use your appropriate image
hostname: gpt-email-api
restart: unless-stopped
network_mode: bridge
ports:
- "8050:8888" # Map port 80 of the container to port 8075 on the host
environment:
BASE_URL: https://api.servicesbyv.com # Set this to your actual base URL
ROOT_PATH: /email
API_KEY: Optional API key to connect to api
WORKERS: 1 #uvicorn workers 1 should be enough for personal use
UVICORN_CONCURRENCY: 32 #this controls the mac connections. Anything over the API_concurrancy value is put in query pool. Anything over this number is rejected.
ACCOUNT_EMAIL: [email protected]
ACCOUNT_PASSWORD: password1
ACCOUNT_IMAP_SERVER: imap.example.com
ACCOUNT_IMAP_PORT: 993
ACCOUNT_SMTP_SERVER: smtp.example.com
ACCOUNT_SMTP_PORT: 587
ACCOUNT_REPLY_TO: [email protected]