-
Notifications
You must be signed in to change notification settings - Fork 13
/
docker-compose.yml
42 lines (38 loc) · 918 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
version: '2'
services:
web:
build:
context: .
dockerfile: ./build/App.Dockerfile
image: "forex:$BUILD_ID"
ports:
- "4000:4000"
depends_on:
- redis
environment:
REDIS_URL: redis://redis
NODE_ENV: ${NODE_ENV}
ACCOUNTS_CURRENCY_FAIR: ${ACCOUNTS_CURRENCY_FAIR}
QUOTES_CURRENCY_FAIR_PROFILE: ${QUOTES_CURRENCY_FAIR_PROFILE}
OANDA_PROFILE: ${OANDA_PROFILE}
IMGUR_PROFILE: ${IMGUR_PROFILE}
VIRTUAL_HOST: "forex-${NODE_ENV}.uasabici.com"
redis:
image: redis:3.2.5-alpine
volumes:
- /tmp/redis:/data
redis-commander:
build:
context: .
dockerfile: ./build/RedisCommander.Dockerfile
depends_on:
- redis
ports:
- "4567:8080"
environment:
REDIS_HOST: redis
VIRTUAL_HOST: "redis.forex-${NODE_ENV}.uasabici.com"
networks:
default:
external:
name: nginx-proxy