generated from emmanuel-mendez/aleayza
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yaml
53 lines (51 loc) · 1.02 KB
/
compose.yaml
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
services:
dev:
image: aleayza:development
container_name: aleayza__development
build:
context: .
target: development
command: /bin/ash
tty: true
stdin_open: true
volumes:
- type: bind
source: ./
target: /home/app
watch:
image: aleayza:watch
container_name: aleayza__watch
build:
context: .
target: install
ports:
- 4321:4321
volumes:
- .:/home/app
develop:
watch:
- action: sync
path: ./
target: /home/app
ignore:
- node_modules/
- action: rebuild
path: package.json
command: npx astro dev --host 0.0.0.0
preview:
image: aleayza:production
container_name: aleayza__preview
build:
context: .
target: production
ports:
- 4000:80
develop:
watch:
- action: sync
path: ./
target: /home/app
ignore:
- node_modules/
- action: rebuild
path: ./