This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
123 lines (114 loc) · 2.75 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
version: '2'
services:
code:
image: msvrtan/code:0.2.0
container_name: code
volumes:
- ./:/var/www
nginx-dev:
build:
context: ./etc/docker/nginx-sf4-dev
container_name: nginx-dev
volumes_from:
- code
volumes:
- ./var/logs/dev/nginx/:/var/log/nginx
ports:
- "8000:80"
links:
- php7fpm-dev
- php7fpm-test
php7fpm-dev:
container_name: php7fpm-dev
image: msvrtan/php7fpm-dev:0.4.1
shm_size: 256MB
volumes_from:
- code
volumes:
- ./var/logs/dev/php-fpm/:/var/log/php-fpm
expose:
- "9000"
environment:
APP_ENV: dev
APP_DEBUG: 1
APP_SECRET: f89cdd4e751e8144aeb61d81fb78fc65
DATABASE_DRIVER: pdo_pgsql
DATABASE_SERVER_VERSION: 10.0
DATABASE_HOST: pgsql_dev
DATABASE_PORT: 5432
DATABASE_NAME: raffler_dev
DATABASE_USER: root
DATABASE_PASSWORD: n0p455
API_BASE_URL: http://dev.raffler.loc:8000/api/
links:
- pgsql_dev
extra_hosts:
- "dev.raffler.loc:172.17.0.1"
- "test.raffler.loc:172.17.0.1"
php7fpm-test:
container_name: php7fpm-test
image: msvrtan/php7fpm-dev:0.4.1
shm_size: 256MB
volumes_from:
- code
volumes:
- ./var/logs/test/php-fpm/:/var/log/php-fpm
expose:
- "9000"
environment:
APP_ENV: test
APP_DEBUG: 1
APP_SECRET: f89cdd4e751e8144aeb61d81fb78fc65
DATABASE_DRIVER: pdo_pgsql
DATABASE_SERVER_VERSION: 10.0
DATABASE_HOST: pgsql_dev
DATABASE_PORT: 5432
DATABASE_NAME: raffler_test
DATABASE_USER: root
DATABASE_PASSWORD: n0p455
API_BASE_URL: http://test.raffler.loc:8000/api/
links:
- pgsql_dev
extra_hosts:
- "dev.raffler.loc:172.17.0.1"
- "test.raffler.loc:172.17.0.1"
pgsql_dev:
image: postgres:10.0
container_name: pgsql_dev
ports:
- "5432:5432"
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: n0p455
workspace:
container_name: workspace
image: msvrtan/workspace-dev:0.5.0
shm_size: 256MB
volumes_from:
- code
links:
- pgsql_dev
- nginx-dev
extra_hosts:
- "dev.raffler.loc:172.17.0.1"
- "test.raffler.loc:172.17.0.1"
environment:
APP_ENV: dev
APP_DEBUG: 1
APP_SECRET: f89cdd4e751e8144aeb61d81fb78fc65
DATABASE_DRIVER: pdo_pgsql
DATABASE_SERVER_VERSION: 10.0
DATABASE_HOST: pgsql_dev
DATABASE_PORT: 5432
DATABASE_NAME: raffler_dev
DATABASE_USER: root
DATABASE_PASSWORD: n0p455
API_BASE_URL: http://test.raffler.loc:8000/api/
xdebug:
container_name: xdebug
image: msvrtan/xdebug-dev:0.4.1
shm_size: 256MB
volumes_from:
- code
links:
- pgsql_dev