-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
53 lines (52 loc) · 1.12 KB
/
docker-compose.yml
File metadata and controls
53 lines (52 loc) · 1.12 KB
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
version: "3.7"
services:
mysql:
image: mysql
volumes:
- ./.docker/mysql/conf:/etc/mysql/conf.d
- ./volumes/mysql/dump:/docker-entrypoint-initdb.d
- ./volumes/mysql/data:/var/lib/mysql
ports:
- 3306:3306
restart: unless-stopped
environment:
- TZ
- MYSQL_ROOT_PASSWORD
- MYSQL_DATABASE
- MYSQL_USER
- MYSQL_PASSWORD
nginx:
build: .docker/web
restart: unless-stopped
volumes:
- ./volumes/playsms/html:/var/www/html:ro
- ./volumes/nginx/includes:/etc/nginx/conf.d/includes/
ports:
- ${HTTP_PORT}:80
mailhog:
image: blueimp/mailhog
ports:
- ${MAILHOG_PORT}:8025
playsms:
build: .docker/app
volumes:
- ~/.composer:/root/.composer/
- ./.env:/var/www/.env
- ./volumes/playsms/data:/var/www/data
- ./volumes/playsms/html:/var/www/html
environment:
- TZ
- ADMINPASSWORD
- DBUSER
- DBPASS
- DBNAME
- DBHOST
- DBPORT
- URLWEB
- PATHWEB
- PATHBIN
- PATHLOG
- PATHSTR
- PATHSRC
- PLAYSMS_WEB
- XDEBUG_CONFIG