-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
61 lines (56 loc) · 1.34 KB
/
docker-compose.yml
File metadata and controls
61 lines (56 loc) · 1.34 KB
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
58
59
60
61
version: '3.7'
volumes:
v_node_modules:
v_node_modules_empty:
v_vendor:
services:
apache:
image: goldinteractive/sm-apache:2.4-rev2
ports:
- ${DOCKER_PORT_WEB:-8000}:80
volumes:
- ./public:/var/www/public:delegated
- ./_data:/var/www/_data:delegated
networks:
app-network:
aliases:
- apache
depends_on:
- backend
- frontend
frontend:
image: goldinteractive/sm-node:16.14-rev1
entrypoint: "tail -f /dev/null"
volumes:
- ./:/usr/src/app/:delegated
- v_node_modules:/usr/src/app/node_modules
networks:
app-network:
aliases:
- frontend
backend:
image: goldinteractive/sm-php:8.0-rev5
volumes:
- ./:/var/www/:delegated
- v_vendor:/var/www/backend/vendor
- v_node_modules_empty:/var/www/node_modules
- ~/.composer/auth.json:/root/.composer/auth.json
networks:
app-network:
aliases:
- backend
designsystem:
image: goldinteractive/sm-node:16.14-rev1
ports:
- 3002:3002
entrypoint: "tail -f /dev/null"
volumes:
- ./:/usr/src/app/:delegated
- v_node_modules:/usr/src/app/node_modules
networks:
app-network:
aliases:
- designsystem
networks:
app-network:
driver: bridge