forked from noco-ai/spellbook-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-nogpu.yml
111 lines (103 loc) · 2.19 KB
/
docker-compose-nogpu.yml
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
version: "3.8"
services:
vault:
build:
dockerfile: vault/Dockerfile
container_name: spellbook_vault
ports:
- "8200:8200"
environment:
VAULT_ADDR: http://0.0.0.0:8200
volumes:
- vault_share:/vault_share
cap_add:
- IPC_LOCK
networks:
spellbook-net:
ipv4_address: 10.23.82.2
mariadb:
build:
dockerfile: mariadb/Dockerfile
container_name: spellbook_mariadb
environment:
MARIADB_ROOT_PASSWORD: "spellBOOK.temp.321"
MARIADB_DATABASE: "spellbook"
volumes:
- vault_share:/vault_share
ports:
- "3306:3306"
depends_on:
- vault
networks:
spellbook-net:
ipv4_address: 10.23.82.3
spellbook_ui:
build:
dockerfile: spellbook/Dockerfile
container_name: spellbook_ui
volumes:
- vault_share:/vault_share
ports:
- "4200:4200"
depends_on:
- vault
- mariadb
- rabbitmq
networks:
spellbook-net:
ipv4_address: 10.23.82.6
arcane_bridge:
build:
dockerfile: arcane-bridge/Dockerfile
container_name: spellbook_arcane_bridge
volumes:
- vault_share:/vault_share
ports:
- "3000:3000"
depends_on:
- vault
- mariadb
- rabbitmq
networks:
spellbook-net:
ipv4_address: 10.23.82.7
golem:
build:
dockerfile: elemental-golem/Dockerfile-nogpu
container_name: spellbook_golem
environment:
- GOLEM_ID=${GOLEM_ID}
- GOLEM_AMQP_HOST=${GOLEM_AMQP_HOST}
- GOLEM_VAULT_HOST=${GOLEM_VAULT_HOST}
volumes:
- vault_share:/vault_share
- models_share:/server/data
depends_on:
- vault
- rabbitmq
networks:
spellbook-net:
ipv4_address: 10.23.82.5
rabbitmq:
build:
dockerfile: rabbitmq/Dockerfile
container_name: spellbook_rabbitmq
depends_on:
- vault
ports:
- "15672:15672"
- "5672:5672"
- "5671:5671"
volumes:
- vault_share:/vault_share
networks:
spellbook-net:
ipv4_address: 10.23.82.4
volumes:
vault_share:
models_share:
networks:
spellbook-net:
ipam:
config:
- subnet: 10.23.82.0/16