-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.dev.yaml
More file actions
132 lines (123 loc) · 3.2 KB
/
docker-compose.dev.yaml
File metadata and controls
132 lines (123 loc) · 3.2 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
x-watch-dockerfile: &watch-dockerfile-rebuild
action: rebuild
path: towerify/Dockerfile
x-watch-composer: &watch-composer-rebuild
action: rebuild
path: composer.json
x-watch-package: &watch-package-rebuild
action: rebuild
path: package.json
x-watch-config: &watch-config-restart
action: sync+restart
path: ./config
target: /var/www/html/config
x-watch-env: &watch-env-restart
action: sync+restart
path: .env
target: /var/www/html/.env.temp
x-watch-routes: &watch-routes-restart
action: sync+restart
path: ./routes
target: /var/www/html/routes
x-watch-views: &watch-views-restart
action: sync+restart
path: ./resources/views
target: /var/www/html/resources/views
x-watch-themes: &watch-themes-restart
action: sync+restart
path: ./resources/themes
target: /var/www/html/resources/themes
x-watch-wave-views: &watch-wave-views-restart
action: sync+restart
path: ./wave/resources/views
target: /var/www/html/wave/resources/views
x-watch-app-sync: &watch-app-sync
action: sync
path: ./app
target: /var/www/html/app
x-common: &common
image: cywise-ui:local-build
build:
context: .
dockerfile: towerify/Dockerfile
restart: always
extra_hosts:
host.docker.internal: host-gateway
env_file:
- .env
environment:
- APP_DEBUG=true
services:
app:
<<: *common
develop:
watch:
- <<: *watch-app-sync
- <<: *watch-dockerfile-rebuild
- <<: *watch-composer-rebuild
- <<: *watch-package-rebuild
- <<: *watch-env-restart
- <<: *watch-config-restart
- <<: *watch-routes-restart
- <<: *watch-views-restart
- <<: *watch-themes-restart
- <<: *watch-wave-views-restart
scheduler:
<<: *common
develop:
watch:
- <<: *watch-app-sync
- <<: *watch-dockerfile-rebuild
- <<: *watch-composer-rebuild
- <<: *watch-package-rebuild
- <<: *watch-env-restart
- <<: *watch-config-restart
queue:
<<: *common
develop:
watch:
- <<: *watch-app-sync
- <<: *watch-dockerfile-rebuild
- <<: *watch-composer-rebuild
- <<: *watch-package-rebuild
- <<: *watch-env-restart
- <<: *watch-config-restart
queue-low:
<<: *common
develop:
watch:
- <<: *watch-app-sync
- <<: *watch-dockerfile-rebuild
- <<: *watch-composer-rebuild
- <<: *watch-package-rebuild
- <<: *watch-env-restart
- <<: *watch-config-restart
queue-medium:
<<: *common
develop:
watch:
- <<: *watch-app-sync
- <<: *watch-dockerfile-rebuild
- <<: *watch-composer-rebuild
- <<: *watch-package-rebuild
- <<: *watch-env-restart
- <<: *watch-config-restart
queue-critical:
<<: *common
develop:
watch:
- <<: *watch-app-sync
- <<: *watch-dockerfile-rebuild
- <<: *watch-composer-rebuild
- <<: *watch-package-rebuild
- <<: *watch-env-restart
- <<: *watch-config-restart
performa:
image: performa-app:local-build
build:
context: ./performa
dockerfile: towerify/Dockerfile
clickhouse-server:
ports:
- "8123:8123"
- "9000:9000"