-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathdocker-compose.yml
77 lines (76 loc) · 1.6 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
version: "3.5"
services:
mqtt:
image: eclipse-mosquitto:1.6.15
ports:
- "1883:1883"
networks:
- ci_network
mongo:
image: mongo
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: test
ports:
- "27017:27017"
volumes:
- ./mongo_data/:/data/db
networks:
- ci_network
command: --quiet
ui:
depends_on:
- 'api'
- 'server'
- 'mqtt'
image: coinstacteam/coinstac-desktop-app:ci
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- local-volume:/root/.coinstac
- ${CIRCLE_WORKING_DIRECTORY}/screenshots:/tmp/screenshots
networks:
- ci_network
environment:
- DEBUG=mqttjs*
- CI=true
- CI_DOCKER_NETWORK=ci-network
- CI_VOLUME=coinstac_local-volume
- CI_PORT_START=8101
- ELECTRON_ENABLE_LOGGING=true
api:
depends_on:
- 'mongo'
image: coinstacteam/coinstac-api
stdin_open: true
tty: true
privileged: true
ports:
- "80:80"
- "443:443"
- "3100:3100"
networks:
- ci_network
server:
depends_on:
- 'api'
- 'mqtt'
image: coinstacteam/coinstac-server
ports:
- "3200:3200"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- remote-volume:/tmp/coinstac
networks:
- ci_network
environment:
- CI=true
- CI_DOCKER_NETWORK=ci-network
- CI_VOLUME=coinstac_remote-volume
- CI_PORT_START=8501
networks:
ci_network:
name: ci-network
driver: bridge
volumes:
local-volume:
remote-volume: