-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
36 lines (33 loc) · 776 Bytes
/
Copy pathdocker-compose.yaml
File metadata and controls
36 lines (33 loc) · 776 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
version: '3.8'
services:
xunity-db:
image: postgres:alpine
environment:
POSTGRES_DB: "xunity"
POSTGRES_USER: "xunity"
POSTGRES_PASSWORD: "xunity"
ports:
- "5432:5432"
networks:
- xunity-network
xunity:
image: ghcr.io/returntofirst/xunity-autotranslator-openai:latest
environment:
BASE_URL: "https://api.openai.com/v1"
API_KEY: "api_key_here"
MODEL_NAME: "gpt-3.5-turbo"
DB_TYPE: "postgres"
POSTGRES_HOST: "xunity-db"
POSTGRES_PORT: "5432"
POSTGRES_USER: "xunity"
POSTGRES_PASSWORD: "xunity"
POSTGRES_DB: "xunity"
ports:
- "5000:5000"
depends_on:
- xunity-db
networks:
- xunity-network
networks:
xunity-network:
driver: bridge