forked from metacpan/metacpan-web
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (36 loc) · 797 Bytes
/
docker-compose.yml
File metadata and controls
36 lines (36 loc) · 797 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
services:
web-asset-build:
build:
context: .
target: build-assets
volumes:
- './root/static/:/build/root/static/'
- 'web-assets:/build/root/assets/'
command: ['./build-assets.mjs', '--watch']
develop:
watch:
- path: ./build-assets.mjs
action: rebuild
- path: ./package.json
action: rebuild
web-server:
build:
context: .
target: develop
volumes:
- './:/app/'
- 'web-assets:/app/root/assets/'
- '/app/local'
ports:
- '5001:8000'
environment:
# default is 120, shorten to work with compose label
COLUMNS: 96
depends_on:
- web-asset-build
develop:
watch:
- path: ./cpanfile
action: rebuild
volumes:
web-assets: