-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
53 lines (49 loc) · 1.17 KB
/
docker-compose.yaml
File metadata and controls
53 lines (49 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
services:
php:
build:
context: .
dockerfile: ./docker/php/Dockerfile
target: development
ports:
- "80:80"
- "5173:5173"
volumes:
- .:/var/www/html
- ./docker/log:/var/log/apache2
# - ./docker/php/php.ini:/usr/local/etc/php/php.ini
depends_on:
- db
links:
- db:db
environment:
PHP_IDE_CONFIG: "serverName=localhost" # for debugging console commands in PHPStorm using Xdebug
labels:
ofelia.enabled: "true"
ofelia.job-exec.laravel-cron.schedule: "@every 1m"
ofelia.job-exec.laravel-cron.command: "php artisan schedule:run"
ofelia:
image: mcuadros/ofelia:0.3.20
depends_on:
- php
command: daemon --docker
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
db:
image: mariadb:11.4.9
restart: always
ports:
- "3306:3306"
volumes:
- mariadb:/var/lib/mysql
environment:
MARIADB_ROOT_PASSWORD: root
MARIADB_DATABASE: dev_pulse
adminer:
image: adminer:5.4.1
restart: always
ports:
- "8080:8080"
environment:
ADMINER_PLUGINS: dark-switcher tables-filter
volumes:
mariadb: