-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yml
58 lines (58 loc) · 1.28 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
48
49
50
51
52
53
54
55
56
57
58
version: "3.2"
services:
cron:
container_name: cronjobs
build:
context: ./cronjobs
dockerfile: dockerfile
entrypoint: sh -c "./scripts/entrypoint.sh cron"
environment:
- REDIS_HOST=dashboard-backend-redis
- REDIS_PORT=6379
- ENV=DEV
- GITHUB_KEY
- ENVIRONMENT=staging
depends_on:
- dashboard-backend-redis
price:
container_name: price
build:
context: ./cronjobs
dockerfile: dockerfile
entrypoint: sh -c "./scripts/entrypoint.sh price"
environment:
- REDIS_HOST=dashboard-backend-redis
- REDIS_PORT=6379
- ENV=DEV
- GITHUB_KEY
- ENVIRONMENT
depends_on:
- dashboard-backend-redis
dashboard-backend-api:
container_name: backend
build:
context: .
dockerfile: dockerfile
environment:
- REDIS_HOST=dashboard-backend-redis
- NUMIA_API_KEY
- NUMIA_RPC_ENDPOINT
- GITHUB_KEY
- ENVIRONMENT=staging
depends_on:
- dashboard-backend-redis
nginx:
container_name: nginx
build:
context: ./cors
dockerfile: compose.dockerfile
depends_on:
- dashboard-backend-api
ports:
- "80:80"
dashboard-backend-redis:
image: redis
ports:
- "6379:6379"
volumes:
app-volume: