forked from ellie-app/ellie
-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
44 lines (44 loc) · 962 Bytes
/
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
version: '3.2'
services:
phoenix:
command: ./scripts/docker/development/run.sh
build:
dockerfile: ./scripts/docker/development/Dockerfile.phoenix
context: .
volumes:
- type: bind
source: .
target: /app
ports:
- "4000:4000"
- "9000:9000"
- "4369:4369"
depends_on:
- database
env_file:
- .env.local
webpack:
command: ./scripts/docker/development/run_webpack.sh
build:
dockerfile: ./scripts/docker/development/Dockerfile.webpack
context: .
volumes:
- type: bind
source: .
target: /app
depends_on:
- phoenix
ports:
- "8080:8080"
database:
image: "postgres:9.5"
ports:
- "5432:5432"
environment:
POSTGRES_PASSWORD: postgres
volumes:
- type: bind
source: ./.local_tmp/postgres-data
target: /var/lib/postgresql/data
volume:
osxfs: delegated