This repository has been archived by the owner on May 20, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 24
/
docker-compose.yml
67 lines (62 loc) · 1.81 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
version: "2"
services:
examples:
build: "./docker/examples"
environment:
APP_ENV: local
APP_KEY: base64:kMvf1mHFIuCf+ZqMiId7yo6v4oKtjuWqnlxJTWsWv7k=
LOG_LEVEL: debug
BROADCAST_DRIVER: log
CACHE_DRIVER: array
QUEUE_CONNECTION: sync
DB_CONNECTION: sqlite
DB_DATABASE: ":memory:"
APP_URL: http:https://127.0.0.1:9000
MAIL_HOST: php
MAIL_PORT: 1025
MAIL_ENCRYPTION: null
MAIL_FROM_ADDRESS: [email protected]
MAIL_FROM_NAME: sender
RAY_HOST: php
RAY_PORT: 8000
VAR_DUMPER_SERVER: php:9912
SENTRY_LARAVEL_DSN: http:https://sentry@php:8000/1
LOG_SOCKET_URL: php:9913
LOG_SLACK_WEBHOOK_URL: http:https://php:8000/slack
INSPECTOR_URL: http:https://php:8000/inspector
INSPECTOR_API_KEY: test
ports:
- 9000:8000
php:
build: "./docker/server"
environment:
DB_CONNECTION: mysql
# Use for an external database
#DB_CONNECTION: pgsql
#DB_HOST: db
DB_DATABASE: homestead
DB_USERNAME: homestead
DB_PASSWORD: secret
ports:
- 8000:8000
- 1025:1025
- 9912:9912
- 9913:9913
volumes:
- ./:/app
# depends_on:
# - db
node:
image: node:14-bullseye-slim
volumes:
- ./:/app:rw
working_dir: /app
command: bash -c "npm install && npm run watch"
# db:
# image: postgres
# environment:
# POSTGRES_USER: homestead
# POSTGRES_DB: homestead
# POSTGRES_PASSWORD: secret
# ports:
# - 5432:5432