-
Notifications
You must be signed in to change notification settings - Fork 21
/
docker-compose.yaml
53 lines (45 loc) · 1.22 KB
/
docker-compose.yaml
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
version: "3.4"
services:
postgres:
image: postgres:10.10-alpine
ports:
- "5432"
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_HOST: postgres
POSTGRES_DB: santiment
clickhouse-server:
image: yandex/clickhouse-server:20.8.11.17
ports:
- '8123:8123'
- '9000:9000'
- '9009:9009'
ulimits:
nproc: 65535
nofile:
soft: 262144
hard: 262144
sanbase:
build:
context: .
dockerfile: Dockerfile-dev
volumes:
- ./:/app:delegated
hostname: sanbase_host
command: sh -c "elixir --sname sanbase --cookie sanbase -S mix phx.server"
expose:
- 4000
ports:
- "4000:4000"
depends_on:
- postgres
environment:
DATABASE_URL: postgres://postgres:postgres@postgres:5432/santiment
ADMIN_BASIC_AUTH_USERNAME: admin
ADMIN_BASIC_AUTH_PASSWORD: admin
WEBSITE_URL: http://localhost:4000
PUBLIC_URL: http://localhost:4000
PARITY_URL: http://parity.stage.san:30954
TECH_INDICATORS_URL: http://tech-indicators.default.svc.cluster.local
CLICKHOUSE_DATABASE_URL: clickhouse://clickhouse-proxy.default.svc.cluster.local:8123/default