-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathAzkfile.js
32 lines (32 loc) · 1013 Bytes
/
Azkfile.js
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
/**
* Documentation: http://docs.azk.io/Azkfile.js
*/
// Adds the systems that shape your system
systems({
"ex-azure": {
// Dependent systems
depends: [],
// More images: http://images.azk.io
image: {"docker": "azukiapp/elixir-pg-imagick:1.3"},
// Steps to execute before running instances
provision: [
// "mix do deps.get, compile",
],
workdir: "/azk/#{manifest.dir}",
command: ["mix", "app.start"],
wait: false,
mounts: {
'/azk/#{manifest.dir}' : sync("."),
'/azk/#{manifest.dir}/deps' : persistent("./deps"),
'/azk/#{manifest.dir}/_build': persistent("./_build"),
'/root/.hex' : persistent("#{env.HOME}/.hex"),
'/root/.hex/hex.config' : path("#{env.HOME}/.hex/hex.config"),
},
envs: {
// Make sure that the PORT value is the same as the one
// in ports/http below, and that it's also the same
// if you're setting it in a .env file
MIX_ENV: "test",
},
},
});