-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
57 lines (53 loc) · 953 Bytes
/
docker-compose.yml
File metadata and controls
57 lines (53 loc) · 953 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
services:
postgres:
image: postgres
container_name: postgres
restart: always
ports:
- 5433:5432
env_file:
- backend/.env
volumes:
- postgres-volume:/var/lib/postgresql/data
stdin_open: true
privileged: true
tty: true
node:
container_name: node
build: ./backend
ports:
- 5000:5000
depends_on:
- postgres
env_file:
- backend/.env
stdin_open: true
privileged: true
tty: true
vue:
container_name: vue
build: ./frontend
ports:
- 8080:8080
volumes:
- vue-volume:/var/www/html
stdin_open: true
privileged: true
tty: true
nginx:
container_name: nginx
build: ./nginx
ports:
- 80:80
volumes:
- vue-volume:/var/www/html
depends_on:
- postgres
- node
- vue
privileged: true
stdin_open: true
tty: true
volumes:
postgres-volume:
vue-volume: