-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
executable file
·89 lines (88 loc) · 1.81 KB
/
docker-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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
version: '3.6'
networks:
public:
external: true
name: public
local:
internal: true
name: local
services:
mysql:
container_name: ${DOCKER_PROJECT_NAME}-mysql
build:
context: .docker
dockerfile: Dockerfile-mysql
args:
TIMEZONE: ${TIMEZONE}
VERSION: 5.7
networks:
- public
- local
ports:
- 3306
volumes:
- .docker/var/lib/mysql:/var/lib/mysql
environment:
TZ: ${TIMEZONE}
MYSQL_ROOT_PASSWORD: ${DOCKER_PROJECT_NAME}
MYSQL_DATABASE: ${DOCKER_PROJECT_NAME}
MYSQL_USER: ${DOCKER_PROJECT_NAME}
MYSQL_PASSWORD: ${DOCKER_PROJECT_NAME}
php-fpm:
container_name: ${DOCKER_PROJECT_NAME}-php-fpm
build:
context: .docker
dockerfile: Dockerfile-php-fpm
args:
VERSION: 7.0-fpm-alpine
environment:
TZ: ${TIMEZONE}
XDEBUG_REMOTE_HOST: ${XDEBUG_REMOTE_HOST}
networks:
- public
- local
depends_on:
- mysql
volumes:
- .:/app
nginx:
container_name: ${DOCKER_PROJECT_NAME}-nginx
build:
context: .docker
dockerfile: Dockerfile-nginx
environment:
TZ: ${TIMEZONE}
NGINX_VERSION: 1.8
networks:
- public
- local
depends_on:
- php-fpm
- realplexor
ports:
- "8085:80"
- "4453:443"
volumes:
- .:/app
realplexor:
container_name: ${DOCKER_PROJECT_NAME}-realplexor
image: lyberteam/vbo-realplexor
networks:
- public
- local
ports:
- 10011:10010
- 8089:8088
composer:
container_name: ${DOCKER_PROJECT_NAME}-composer
build:
context: .docker
dockerfile: Dockerfile-composer
args:
VERSION: 1.7
environment:
TZ: ${TIMEZONE}
PW: /app
COMPOSER_HOME: /tmp
volumes:
- .:/app