-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathcompose.yaml
More file actions
57 lines (55 loc) · 1.17 KB
/
compose.yaml
File metadata and controls
57 lines (55 loc) · 1.17 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
services:
web: &php
image: tissue-dev-web
build:
context: .
dockerfile: docker/development/web.dockerfile
volumes:
- .:/var/www/html
- front_node_modules:/var/www/html/node_modules
networks:
- backend
ports:
- 4545:80
depends_on:
- db
db:
image: postgres:14-alpine
environment:
POSTGRES_DB: tissue
POSTGRES_USER: tissue
POSTGRES_PASSWORD: tissue
volumes:
- db:/var/lib/postgresql/data
- ./docker/development/init-test-db.sql:/docker-entrypoint-initdb.d/init-test-db.sql
networks:
- backend
scheduler:
<<: *php
command: php artisan schedule:work
ports: []
front:
image: tissue-dev-web
command: sh -c "yarn && yarn dev --host --port 4546"
volumes:
- .:/var/www/html
- front_node_modules:/var/www/html/node_modules
ports:
- 4546:4546
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: