-
Notifications
You must be signed in to change notification settings - Fork 9
/
compose.yaml
62 lines (60 loc) · 1.13 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
54
55
56
57
58
59
60
61
62
services:
web: &php
image: tissue-dev-web
build:
context: .
dockerfile: docker/development/web.dockerfile
env_file:
- .env
volumes:
- .:/var/www/html
networks:
- backend
ports:
- 4545:80
restart: always
depends_on:
- db
db:
image: postgres:14-alpine
environment:
POSTGRES_DB: tissue
POSTGRES_USER: tissue
POSTGRES_PASSWORD: tissue
volumes:
- db:/var/lib/postgresql/data
networks:
- backend
restart: always
scheduler:
<<: *php
command: php artisan schedule:work
ports: []
front:
image: tissue-dev-web
command: sh -c "yarn && yarn dev --host --port 4546"
env_file:
- .env
volumes:
- .:/var/www/html
- front_node_modules:/var/www/html/node_modules
ports:
- 4546:4546
restart: always
depends_on:
- web
antlr:
image: tissue-antlr:4.13.1
build:
context: .
dockerfile: docker/development/antlr.dockerfile
volumes:
- .:/app
working_dir: /app
profiles:
- utility
networks:
backend:
volumes:
db:
front_node_modules: