-
-
Notifications
You must be signed in to change notification settings - Fork 41
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (37 loc) · 759 Bytes
/
docker-compose.yml
File metadata and controls
42 lines (37 loc) · 759 Bytes
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
version: '3'
services:
app:
build:
context: .
dockerfile: ./docker/app/Dockerfile
ports:
- "3000:3000"
volumes:
- .:/usr/src/app:delegated
env_file:
- ./docker/env/development/database
- ./docker/env/development/app
links:
- mailcatcher
database:
image: postgres:11.6
env_file:
- ./docker/env/development/database
volumes:
- babywearing_pg:/var/lib/postgresql/data:delegated
mailcatcher:
image: schickling/mailcatcher
ports:
- "1080:1080"
web:
build:
context: .
dockerfile: ./docker/web/Dockerfile
env_file:
- ./docker/env/development/web
ports:
- "8080:8080"
links:
- app
volumes:
babywearing_pg: