-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdev-compose.yml
115 lines (112 loc) · 2.36 KB
/
dev-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
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
version: "3.9"
services:
# Postgres database
db:
extends:
file: common-compose.yml
service: db
ports:
- 5432:5432
website-dev:
build:
context: .
dockerfile: ./website/dev-Dockerfile
volumes:
- .:/usr/src:ro
- ./website/app/package-lock.json:/usr/src/website/app/package-lock.json
- website-target:/usr/src/target
- website-registry:/usr/local/cargo/registry
- website-node_modules:/usr/src/website/app/node_modules
depends_on:
- sqs
- db
restart: always
extends:
file: common-compose.yml
service: website
environment:
- RUST_LOG=debug
ports:
- 5173:5173
gameplay-dev:
build:
context: .
dockerfile: ./workers/gameplay/dev-Dockerfile
volumes:
- .:/usr/src:ro
- gameplay-target:/usr/src/target
- gameplay-registry:/usr/local/cargo/registry
depends_on:
- sqs
restart: always
privileged: true
extends:
file: common-compose.yml
service: gameplay
environment:
- RUST_LOG=debug
builder-dev:
build:
context: .
dockerfile: ./workers/builder/dev-Dockerfile
volumes:
- .:/usr/src:ro
- builder-target:/usr/src/target
- builder-registry:/usr/local/cargo/registry
depends_on:
- sqs
restart: always
privileged: true
extends:
file: common-compose.yml
service: builder
environment:
- RUST_LOG=debug
results-dev:
build:
context: .
dockerfile: ./workers/results/dev-Dockerfile
volumes:
- .:/usr/src:ro
- results-target:/usr/src/target
- results-registry:/usr/local/cargo/registry
depends_on:
- db
- sqs
restart: always
extends:
file: common-compose.yml
service: results
environment:
- RUST_LOG=debug
s3:
extends:
file: common-compose.yml
service: s3
ports:
- 9000:9000
- 9999:9999
createbuckets:
depends_on:
- s3
extends:
file: common-compose.yml
service: createbuckets
sqs:
extends:
file: common-compose.yml
service: sqs
ports:
- 9324:9324
volumes:
database:
minio:
website-target:
website-registry:
website-node_modules:
gameplay-target:
gameplay-registry:
builder-target:
builder-registry:
results-target:
results-registry: