-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (37 loc) · 978 Bytes
/
docker-compose.yml
File metadata and controls
40 lines (37 loc) · 978 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
services:
app:
build:
context: ./
dockerfile: ./docker/docker-compose/Dockerfile
image: forus-frontend
container_name: forus-frontend-app
restart: unless-stopped
working_dir: /ng-app/
ports:
- "5001:5000"
volumes:
- ./:/ng-app
- node_modules_data:/ng-app/node_modules
networks:
- forus-network
apache:
image: httpd:2.4
container_name: forus-frontend-apache
restart: unless-stopped
environment:
APACHE_DOCUMENT_ROOT: /usr/local/apache2/htdocs
ports:
- "3000:3000"
volumes:
- ./dist:/usr/local/apache2/htdocs
- ./docker/docker-compose/apache_conf/httpd.conf:/usr/local/apache2/conf/httpd.conf
- ./docker/docker-compose/apache_conf/httpd-vhosts.conf:/usr/local/apache2/conf/extra/httpd-vhosts.conf
networks:
- forus-network
networks:
forus-network:
name: forus-network
driver: bridge
volumes:
node_modules_data:
driver: local