-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
53 lines (51 loc) · 1.01 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
49
50
51
52
53
version: '3.9'
services:
database:
container_name: database
image: cenoteando:database
build:
context: ./database
target: database
dockerfile: Dockerfile
ports:
- 8529:8529
restart: unless-stopped
env_file:
- database/env/.env
volumes:
- /var/lib/arangodb3
- /var/lib/arangodb3-apps
frontend:
container_name: frontend
image: cenoteando:frontend
build:
context: ./frontend/
target: production-stage
dockerfile: Dockerfile
args:
NODE_ENV: development
depends_on:
- database
links:
- database
ports:
- 80:80
restart: unless-stopped
env_file:
- frontend/env/.env
backend:
container_name: backend
image: cenoteando:backend
build:
context: ./backend
target: backend
dockerfile: Dockerfile
args:
PROFILE: dev
depends_on:
- database
links:
- database
ports:
- 8080:8080
restart: unless-stopped