-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathdocker-compose.yml
48 lines (46 loc) · 1.09 KB
/
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
45
46
47
48
version: '3'
services:
ore-db-dev:
image: postgres:9
container_name: ore-db-dev
environment:
POSTGRES_PASSWORD: ore
POSTGRES_USER: ore
POSTGRES_DB: ore
volumes:
- postgres-volume:/var/lib/postgresql/data
ore-front-dev:
image: ore-front-dev
container_name: ore-front-dev
build:
context: .
dockerfile: ./frontend/docker/Dockerfile.development
environment:
ORE_BACKEND_DAEMON: http://ore-back-dev:8000
ORE_SERVER_URL: http://ore-front-dev:8000
ORE_SERVER: ore-front-dev
ORE_DB_NAME: ore
ORE_DB_USER: ore
ORE_DB_PASSWORD: ore
ORE_DB_HOST: ore-db-dev
tty: true
ports:
- 8000:8000
depends_on:
- ore-db-dev
- ore-back-dev
volumes:
- ./frontend:/ore-front
- ./common:/ore-common
ore-back-dev:
image: ore-back-dev
container_name: ore-back-dev
build:
context: .
dockerfile: ./backends/docker/Dockerfile.development
tty: true
volumes:
- ./backends:/ore-back
- ./common:/ore-common
volumes:
postgres-volume: