-
Notifications
You must be signed in to change notification settings - Fork 52
/
Copy pathdocker-compose.dev.yml
138 lines (138 loc) · 3.14 KB
/
docker-compose.dev.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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
services:
astarte-housekeeping:
build:
dockerfile: ../../Dockerfile
context: apps/astarte_housekeeping
target: builder
args:
BUILD_ENV: dev
command:
- |
set -e
mix eval Elixir.Astarte.Housekeeping.ReleaseTasks.init_database
mix eval Elixir.Astarte.Housekeeping.ReleaseTasks.migrate
mix run --no-halt
develop:
watch:
- path: apps/astarte_housekeeping/lib
action: rebuild
astarte-housekeeping-api:
build:
dockerfile: ../../Dockerfile
context: apps/astarte_housekeeping_api
target: builder
args:
BUILD_ENV: dev
command:
- |
mix phx.server
develop:
watch:
- path: apps/astarte_housekeeping_api/lib
action: sync
target: /src/lib
astarte-realm-management:
build:
dockerfile: ../../Dockerfile
context: apps/astarte_realm_management
target: builder
args:
BUILD_ENV: dev
command:
- |
mix run --no-halt
develop:
watch:
- path: apps/astarte_realm_management/lib
action: rebuild
astarte-realm-management-api:
build:
dockerfile: ../../Dockerfile
context: apps/astarte_realm_management_api
target: builder
args:
BUILD_ENV: dev
command:
- |
mix phx.server
develop:
watch:
- path: apps/astarte_realm_management_api/lib
action: sync
target: /src/lib
astarte-pairing:
build:
dockerfile: ../../Dockerfile
context: apps/astarte_pairing
target: builder
args:
BUILD_ENV: dev
command:
- |
mix run --no-halt
develop:
watch:
- path: apps/astarte_pairing/lib
action: rebuild
astarte-pairing-api:
build:
dockerfile: ../../Dockerfile
context: apps/astarte_pairing_api
target: builder
args:
BUILD_ENV: dev
command:
- |
mix phx.server
develop:
watch:
- path: apps/astarte_pairing_api/lib
action: sync
target: /src/lib
astarte-appengine-api:
build:
dockerfile: ../../Dockerfile
context: apps/astarte_appengine_api
target: builder
args:
BUILD_ENV: dev
command:
- |
mix phx.server
develop:
watch:
- path: apps/astarte_appengine_api/lib
action: sync
target: /src/lib
astarte-data-updater-plant:
build:
dockerfile: ../../Dockerfile
context: apps/astarte_data_updater_plant
target: builder
args:
BUILD_ENV: dev
command:
- |
mix run --no-halt
develop:
watch:
- path: apps/astarte_data_updater_plant/lib
action: rebuild
astarte-trigger-engine:
build:
dockerfile: ../../Dockerfile
context: apps/astarte_trigger_engine
target: builder
args:
BUILD_ENV: dev
command:
- |
mix run --no-halt
develop:
watch:
- path: apps/astarte_trigger_engine/lib
action: rebuild
scylla:
command: --smp 1 --memory 750M
ports:
- 9042:9042