This repository was archived by the owner on Mar 18, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathuser_defined_sim.compose.yaml
More file actions
116 lines (113 loc) · 3.25 KB
/
user_defined_sim.compose.yaml
File metadata and controls
116 lines (113 loc) · 3.25 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
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
112
113
114
115
116
services:
snowglobe:
build:
context: .
dockerfile: Dockerfile
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
command: ["./start_sim.sh"]
# command: "tail -f /dev/null"
image: snowglobe:latest
stdin_open: true # docker run -i
tty: true # docker run -t
container_name: snowglobe
hostname: snowglobe
healthcheck:
test: bash -c "[ -f /data/snowglobe/local/game.id ]"
timeout: 3s
retries: 20
volumes:
- '${PWD}/config/local:/home/snowglobe/.config/snowglobe'
- '${PWD}/logs:/home/snowglobe/logs'
- '${PWD}/data:/data/snowglobe'
# ports:
# - 8080:8000
snowglobe-ui:
build:
context: .
dockerfile: Dockerfile
# deploy:
# resources:
# reservations:
# devices:
# - driver: nvidia
# count: all
# capabilities: [gpu]
command: "snowglobe_server -c /home/snowglobe/.config/snowglobe/wotr_unmasked.yaml -l /home/snowglobe/logs/local/snowglobe-ui.log"
image: snowglobe:latest
stdin_open: true # docker run -i
tty: true # docker run -t
container_name: snowglobe-ui
hostname: snowglobe-ui
volumes:
- '${PWD}/config/local:/home/snowglobe/.config/snowglobe'
- '${PWD}/logs:/home/snowglobe/logs'
- '${PWD}/data:/data/snowglobe'
ports:
- 8080:8000
depends_on:
snowglobe:
condition: service_healthy
# snowglobe-openai:
# build:
# context: .
# dockerfile: Dockerfile
# deploy:
# resources:
# reservations:
# devices:
# - driver: nvidia
# count: all
# capabilities: [gpu]
# command: ["./start_sim_openai.sh"]
# image: snowglobe:latest
# stdin_open: true # docker run -i
# tty: true # docker run -t
# container_name: snowglobe-openai
# hostname: snowglobe-openai
# healthcheck:
# test: bash -c "[ -f /data/snowglobe/openai/game.id ]"
# timeout: 3s
# retries: 20
# volumes:
# - '${PWD}/config/openai:/home/snowglobe/.config/snowglobe'
# - '${PWD}/logs:/home/snowglobe/logs'
# - '${PWD}/data:/data/snowglobe'
# secrets:
# - openai_key
# # ports:
# # - 8080:8000
# snowglobe-ui-openai:
# build:
# context: .
# dockerfile: Dockerfile
# # deploy:
# # resources:
# # reservations:
# # devices:
# # - driver: nvidia
# # count: all
# # capabilities: [gpu]
# command: "snowglobe_server -c /home/snowglobe/.config/snowglobe/wotr_unmasked-openai.yaml -l /home/snowglobe/logs/openai/snowglobe-ui.log"
# image: snowglobe:latest
# stdin_open: true # docker run -i
# tty: true # docker run -t
# container_name: snowglobe-ui-openai
# hostname: snowglobe-ui-openai
# volumes:
# - '${PWD}/config/openai:/home/snowglobe/.config/snowglobe'
# - '${PWD}/logs:/home/snowglobe/logs'
# - '${PWD}/data:/data/snowglobe'
# ports:
# - 8081:8000
# depends_on:
# snowglobe-openai:
# condition: service_healthy
# secrets:
# openai_key:
# file: ${PWD}/secrets/openaiapi.key