generated from webmappsrl/laravel-postgis-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevelop.compose.yml
52 lines (49 loc) · 1.16 KB
/
develop.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
services:
php:
extends:
file: compose.yml
service: php
ports:
- ${DOCKER_SERVE_PORT}:8000
- ${DOCKER_VITE_PORT}:5173
db:
extends:
file: compose.yml
service: db
redis:
extends:
file: compose.yml
service: redis
elasticsearch:
extends:
file: compose.yml
service: elasticsearch
# needed for aws s3 storage testing
minio:
image: "minio/minio:latest"
container_name: "minio_${APP_NAME}"
ports:
- "${FORWARD_MINIO_PORT:-9000}:9000"
- "${FORWARD_MINIO_CONSOLE_PORT:-8900}:8900"
environment:
MINIO_ROOT_USER: laravel
# at least 8 chars
MINIO_ROOT_PASSWORD: laravelminio
volumes:
- "./docker/volumes/minio/data:/data/minio"
command: 'minio server /data/minio --console-address ":8900"'
healthcheck:
test:
- CMD
- mc
- ready
- local
retries: 3
timeout: 5s
# needed for mails testing
mailpit:
container_name: "mailpit_${APP_NAME}"
image: "axllent/mailpit:latest"
ports:
- "${FORWARD_MAILPIT_PORT:-1025}:1025"
- "${FORWARD_MAILPIT_DASHBOARD_PORT:-8025}:8025"