-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose-server.yml
52 lines (49 loc) · 1.11 KB
/
docker-compose-server.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
version: "3.0"
services:
frontend:
build:
context: ./frontend
dockerfile: Dockerfile-prod
volumes:
- './frontend:/app'
- './frontend/node_modules:/app/node_modules'
ports:
- '80:80'
environment:
- VIRTUAL_HOST=rae.cloud
- NODE_ENV=development
postgresdb:
ports:
- "5432:5432"
image: postgres:latest
volumes:
- ./persistent_data/postgres:/var/lib/postgresql/data
environment:
POSTGRES_DB: cortex
POSTGRES_USER: admin
POSTGRES_PASSWORD: WKLpwoDJd03DJ423DJwlDJlaDJsdDJsdDJlDJsa
ganachecli:
build:
context: ./ganachecli/
dockerfile: Dockerfile
ports:
- "7545:7545"
volumes:
- ./persistent_data/ganache_data:/ganache_data
agents:
environment:
TESTS: "False"
DEBUG: "False"
RUN_CMD: "pipenv run launch_demo"
build:
context: ./agents
dockerfile: Dockerfile
depends_on:
- postgresdb
- ganachecli
ports:
- '8080:8080'
volumes:
- './agents:/app'
- './hegic_contracts/:/app/hegic_contracts'
restart: always