-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
45 lines (45 loc) · 928 Bytes
/
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
version: "3"
services:
api:
container_name: one-tricks-api
restart: always
build: ./api
depends_on:
- mongo
- redis
links:
- mongo
- redis
ports:
- "80:80"
environment:
- RIOT_LOL_API_KEY=${RIOT_LOL_API_KEY}
- NODE_ENV=development
- DEBUG=kayn:*
- DEBUG_COLORS=true
- WAIT_HOSTS=mongo:27017
# client:
# container_name: one-tricks-client
# command: yarn start
# restart: always
#build: ./client
# ports:
## - "35729:35729"
# volumes:
# - ./client/src:/usr/src/app/src
# - ./client/public:/usr/src/app/public
# links:
# - api
# environment:
# - NODE_ENV=development
mongo:
container_name: mongo
image: mongo
volumes:
- ./data:/data/db
ports:
- "27017:27017"
redis:
image: "redis:alpine"
volumes:
- ./redis.conf:/usr/local/etc/redis/redis.conf