-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (39 loc) · 839 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
43 lines (39 loc) · 839 Bytes
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
version: "3.9"
services:
api:
build:
context: .
dockerfile: ./infra/api.Dockerfile
container_name: slavecode-api
env_file:
- ./api/.env
ports:
- "3000:3000"
restart: unless-stopped
environment:
- REDIS_URL=redis://redis:6379
- LOG_PRETTY=true
depends_on:
- redis
arena:
build:
context: .
dockerfile: ./infra/arena.Dockerfile
container_name: slavecode-worker
env_file:
- ./arena/.env
ports:
- "8080:8080"
restart: unless-stopped
environment:
- REDIS_URL=redis://redis:6379
- LOG_PRETTY=true
- CLERK_PEM_PUBLIC_KEY=${CLERK_PEM_PUBLIC_KEY}
depends_on:
- redis
redis:
image: redis:alpine
container_name: slavecode-redis
ports:
- "6379:6379"
restart: unless-stopped