-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (45 loc) · 1.01 KB
/
docker-compose.yml
File metadata and controls
49 lines (45 loc) · 1.01 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
version: "3.8"
volumes:
php-fpm-socket:
db-store:
services:
app:
build: ./infra/docker/php
env_file: ./env.mariadb.local.env
volumes:
- php-fpm-socket:/var/run/php-fpm
- ./backend:/work/backend
web:
build: ./infra/docker/nginx
ports:
- 80:80
- 443:443
volumes:
- php-fpm-socket:/var/run/php-fpm
- ./backend:/work/backend
db:
build: ./infra/docker/mysql
env_file: ./env.mariadb.local.env
ports:
- 3306:3306
volumes:
- db-store:/var/lib/mysql
queue:
build: ./infra/docker/queue
env_file: ./env.mariadb.local.env
stop_signal: SIGTERM
depends_on:
- app
volumes:
- ./backend:/work/backend
# environment:
# - CONNECTION=redis # Defaults to 'default'
# - QUEUE=high,default # Defaults to 'default'
cron:
build: ./infra/docker/cron
env_file: ./env.mariadb.local.env
stop_signal: SIGTERM
depends_on:
- app
volumes:
- ./backend:/work/backend