-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
76 lines (68 loc) · 1.48 KB
/
docker-compose.yml
File metadata and controls
76 lines (68 loc) · 1.48 KB
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
services:
base: &base
build:
context: .
dockerfile: Dockerfile
working_dir: /workspace/drops-relation
command: sleep infinity
depends_on: [postgres]
links: [postgres]
volumes:
- ".:/workspace/drops-relation"
- "drops_relation_deps:/workspace/drops-relation/deps"
postgres:
image: postgres:latest
environment:
POSTGRES_PASSWORD: postgres
POSTGRES_DATABASE: postgres
POSTGRES_USERNAME: postgres
ports:
- 5432:5432
command: [ "postgres", "-c", "log_statement=all" ]
volumes:
- "drops_relation_pgdata:/var/lib/postgresql/data"
dev-latest: &dev-latest
<<: *base
build:
context: .
dockerfile: Dockerfile
args:
ELIXIR_VERSION: 1.18.4
OTP_VERSION: 28.0.2
dev-1.17:
<<: *base
build:
context: .
dockerfile: Dockerfile
args:
ELIXIR_VERSION: 1.17.3
OTP_VERSION: 27.3.4.2
dev-1.16:
<<: *base
build:
context: .
dockerfile: Dockerfile
args:
ELIXIR_VERSION: 1.16.3
OTP_VERSION: 26.2.5.14
dev-1.15:
<<: *base
build:
context: .
dockerfile: Dockerfile
args:
ELIXIR_VERSION: 1.15.8
OTP_VERSION: 25.3.2.21
dev-1.14:
<<: *base
build:
context: .
dockerfile: Dockerfile
args:
ELIXIR_VERSION: 1.14.5
OTP_VERSION: 24.3.4.17
test:
<<: *dev-latest
volumes:
drops_relation_deps:
drops_relation_pgdata: