-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
44 lines (40 loc) · 972 Bytes
/
docker-compose.yml
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
services:
php:
user: "${UID}:${GID}"
working_dir: /app
build:
context: .
dockerfile: frankenphp.Dockerfile
extra_hosts:
- "host.docker.internal:host-gateway"
ports:
- "80:8080"
volumes:
- .:/app
depends_on:
- redis
- mariadb
mariadb:
image: mariadb:10.4.13
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: laravel
redis:
image: redis
ports:
- "6379:6379"
horizon:
build:
context: .
dockerfile: serversideup.Dockerfile
args:
- USER_ID=501
- GROUP_ID=20
target: development
ports:
- "8082:8080"
volumes:
- .:/var/www/html
command: [ "php", "artisan", "horizon" ]