-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathcompose.yaml
More file actions
42 lines (40 loc) · 1017 Bytes
/
Copy pathcompose.yaml
File metadata and controls
42 lines (40 loc) · 1017 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
services:
# main apache service running the full website
apache:
build: .
ports:
- ${PORT:-80}:80
restart: unless-stopped
develop:
watch:
- path: app/
action: rebuild
- path: www/
action: rebuild
- path: composer.lock
action: rebuild
- path: Dockerfile
action: rebuild
# optional playwright test runner, start with `docker compose run --build --rm playwright`
playwright:
build: tests/playwright
environment:
- INTEGRATION_URL=http://apache
profiles:
- playwright
# tailwind dev sidecar to watch and recompile CSS on demand
tailwind:
build:
context: .
target: tailwind
command: --watch -o www/src/tailwind.min.css --minify
restart: unless-stopped
stdin_open: true
stop_signal: SIGKILL
volumes:
- ./tailwind.css:/app/tailwind.css:ro
- ./www:/app/www:rw
develop:
watch:
- path: Dockerfile
action: rebuild