-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
47 lines (43 loc) · 1.19 KB
/
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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
services:
client:
image: node:16
working_dir: /home/root/client
command: sh -c 'npm install --log-level=error --no-progress laverdet/screeps-steamless-client && npx screeps-steamless-client --package /screeps.nw --host 0.0.0.0 --internal_backend http://screeps:21025 --backend http://localhost:21025'
environment:
SCREEPS_NW_PATH: ${SCREEPS_NW_PATH:?"Missing screeps nw file"}
volumes:
- ${SCREEPS_NW_PATH}:/screeps.nw
ports:
- 8080:8080/tcp
restart: unless-stopped
screeps:
image: ghcr.io/jomik/screeps-server:edge
volumes:
- ./config.yml:/screeps/config.yml
- screeps-data:/screeps
- screeps-mods:/screeps/mods
ports:
- 21025:21025/tcp
environment:
MONGO_HOST: mongo
REDIS_HOST: redis
STEAM_KEY: ${STEAM_KEY:?"Missing steam key"}
restart: unless-stopped
curl:
image: quay.io/curl/curl:latest
network_mode: 'service:screeps'
mongo:
image: mongo:4.4.18
volumes:
- mongo-data:/data/db
restart: unless-stopped
redis:
image: redis:7
volumes:
- redis-data:/data
restart: unless-stopped
volumes:
redis-data:
mongo-data:
screeps-data:
screeps-mods: