-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (41 loc) · 906 Bytes
/
docker-compose.yml
File metadata and controls
45 lines (41 loc) · 906 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
version: "3.9"
services:
api:
container_name: itech_api
build:
context: .
dockerfile: .docker/php/Dockerfile
volumes:
- ./api:/var/www/api
apache:
container_name: itech_apache
build:
context: .
dockerfile: .docker/apache/Dockerfile
volumes:
- ./api:/var/www/api
- .docker/apache/conf/site.conf:/etc/apache2/sites-enabled/site.conf
ports:
- 81:80
links:
- api
front:
container_name: itech_front
build:
context: .
dockerfile: .docker/front/Dockerfile
volumes:
- ./front:/home/node/app
ports:
- 4200:4200
nginx:
container_name: itech_nginx
build:
context: .
dockerfile: .docker/nginx/Dockerfile
volumes:
- ./front/dist/public:/usr/share/nginx/html
- .docker/nginx/my.conf:/etc/nginx/nginx.conf
ports:
- 80:80
- 443:443