-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
110 lines (103 loc) · 2.96 KB
/
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
version: '3'
services:
webservice:
build:
context: .
dockerfile: ./.docker/nginx.Dockerfile
depends_on:
- php
ports:
- '8000:80'
volumes:
- ./data/storage/public:/app/public/storage
php:
build:
context: .
dockerfile: ./.docker/php.Dockerfile
depends_on:
- db
- redis
- socketi
command: /bin/entrypoint app
env_file:
- .app.env
environment:
DB_HOST: db
DB_DATABASE: db
DB_USERNAME: db
QUEUE_CONNECTION: redis
XELATEX_BIN: /usr/bin/xelatex
PDFLATEX_BIN: /usr/bin/pdflatex
REDIS_HOST: redis
volumes:
- ./data/storage:/app/storage/app
- ./data/plugins:/app/plugins
- ./data/cookies:/app/packages/laravel-nami/.cookies
horizon:
build:
context: .
dockerfile: ./.docker/php.Dockerfile
depends_on:
- php
command: /bin/entrypoint horizon
env_file:
- .app.env
environment:
DB_HOST: db
DB_DATABASE: db
DB_USERNAME: db
QUEUE_CONNECTION: redis
XELATEX_BIN: /usr/bin/xelatex
PDFLATEX_BIN: /usr/bin/pdflatex
REDIS_HOST: redis
volumes:
- ./data/storage:/app/storage/app
- ./data/plugins:/app/plugins
- ./data/cookies:/app/packages/laravel-nami/.cookies
schedule:
build:
context: .
dockerfile: ./.docker/php.Dockerfile
depends_on:
- php
command: /bin/entrypoint schedule
env_file:
- .app.env
environment:
DB_HOST: db
DB_DATABASE: db
DB_USERNAME: db
QUEUE_CONNECTION: redis
XELATEX_BIN: /usr/bin/xelatex
PDFLATEX_BIN: /usr/bin/pdflatex
REDIS_HOST: redis
volumes:
- ./data/storage:/app/storage/app
- ./data/plugins:/app/plugins
- ./data/cookies:/app/packages/laravel-nami/.cookies
db:
image: mariadb:10.6.5
env_file:
- .app.env
environment:
MARIADB_RANDOM_ROOT_PASSWORD: yes
MYSQL_DATABASE: db
MYSQL_USER: db
volumes:
- ./data/db:/var/lib/mysql
socketi:
image: quay.io/soketi/soketi:89604f268623cf799573178a7ba56b7491416bde-16-debian
environment:
SOKETI_DEFAULT_APP_ID: adremaid
SOKETI_DEFAULT_APP_KEY: adremakey
SOKETI_DEFAULT_APP_SECRET: adremasecret
redis:
image: redis:alpine3.18
volumes:
- ./data/redis:/data
meilisearch:
image: getmeili/meilisearch:v1.6
volumes:
- ./data/meilisearch:/meili_data
env_file:
- .app.env