-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yaml
70 lines (65 loc) · 1.57 KB
/
compose.yaml
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
version: '3.8'
services:
php:
build: docker/php-fpm
container_name: decarte-php
volumes:
- .:/var/www:rw
depends_on:
- mailcatcher
- mysql
environment:
- APP_ENV=dev
- APP_SECRET=1234
- CANONICAL_DOMAIN=http://localhost:8080
- DATABASE_URL=mysql://decarte:12345@mysql:3306/decarte
- GOOGLE_ANALYTICS=
- GOOGLE_MERCHANT_ID=
- GOOGLE_PRIVATE_KEY=
- MAILER_DSN=smtp://mailcatcher:1025
- PAYU_ENVIRONMENT=sandbox
- PAYU_POS_ID=0
- PAYU_SIGNATURE_KEY=0
- PAYU_OAUTH_CLIENT_ID=0
- PAYU_OAUTH_CLIENT_SECRET=0
- PHP_IDE_CONFIG=serverName=localhost
- SENTRY_DSN=null
extra_hosts:
- "host.docker.internal:host-gateway"
nginx:
build: docker/nginx
container_name: decarte-nginx
ports:
- "8080:80"
depends_on:
- php
volumes:
- .:/var/www:rw
mysql:
image: mysql:5.7
container_name: decarte-mysql
environment:
- MYSQL_DATABASE=decarte
- MYSQL_ROOT_PASSWORD=12345
- MYSQL_USER=decarte
- MYSQL_PASSWORD=12345
- MYSQL_ROOT_HOST=%
ports:
- "3306:3306"
node:
image: node:14.10-alpine
container_name: decarte-node
volumes:
- .:/var/www:consistent
working_dir: /var/www
command: >
sh -c "yarn install &&
yarn encore dev-server --hot --port 9999 --host 0.0.0.0"
ports:
- "9999:9999"
mailcatcher:
image: schickling/mailcatcher
container_name: decarte-mailcatcher
ports:
- "1080:1080"