-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathdocker-compose.traefik.yaml
More file actions
73 lines (69 loc) · 1.48 KB
/
docker-compose.traefik.yaml
File metadata and controls
73 lines (69 loc) · 1.48 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
x-gpt2giga-common: &gpt2giga-common
image: ghcr.io/ai-forever/gpt2giga:latest
restart: unless-stopped
env_file:
- .env
build:
context: .
dockerfile: Dockerfile
services:
gpt2giga:
<<: *gpt2giga-common
pull_policy: always
container_name: gpt2giga
environment:
GIGACHAT_MODEL: GigaChat
networks:
gpt2giga:
aliases:
- gpt2giga
gpt2giga-pro:
<<: *gpt2giga-common
pull_policy: always
container_name: gpt2giga_pro
environment:
GIGACHAT_MODEL: GigaChat-Pro
networks:
gpt2giga:
aliases:
- gpt2giga-pro
gpt2giga-max:
<<: *gpt2giga-common
pull_policy: always
container_name: gpt2giga_max
environment:
GIGACHAT_MODEL: GigaChat-Max
networks:
gpt2giga:
aliases:
- gpt2giga-max
traefik:
image: traefik:latest
container_name: traefik
restart: unless-stopped
security_opt:
- no-new-privileges:true
ports:
- 80:80
- 443:443
- 8080:8080
- 8090:8090
- 8091:8091
- 8092:8092
environment:
HOST: ${HOST:-localhost}
volumes:
- /etc/localtime:/etc/localtime:ro
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./traefik/traefik.yml:/etc/traefik/traefik.yml:ro
- ./traefik/:/etc/traefik/rules/:ro
depends_on:
- gpt2giga
- gpt2giga-pro
- gpt2giga-max
networks:
gpt2giga:
aliases:
- traefik
networks:
gpt2giga: