-
Notifications
You must be signed in to change notification settings - Fork 91
/
docker-compose-mac.yml.dist
88 lines (79 loc) · 2.3 KB
/
docker-compose-mac.yml.dist
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
version: "3.1"
services:
postgres:
image: postgres:9.5-alpine
container_name: shopsys-framework-postgres
volumes:
- shopsys-framework-postgres-data-sync:/var/lib/postgresql/data
environment:
- POSTGRES_USER=root
- POSTGRES_PASSWORD=root
- POSTGRES_DB=shopsys
webserver:
image: nginx:1.13-alpine
container_name: shopsys-framework-webserver
working_dir: /var/www/shopsys-framework
volumes:
- shopsys-framework-sync:/var/www/shopsys-framework
- ./docker/nginx/nginx.conf:/etc/nginx/conf.d/default.conf
ports:
- "8000:8080"
links:
- php-fpm
- smtp-server
php-fpm:
build: docker/php-fpm
container_name: shopsys-framework-php-fpm
working_dir: /var/www/shopsys-framework
volumes:
- shopsys-framework-sync:/var/www/shopsys-framework
- ./docker/php-fpm/php-ini-overrides.ini:/usr/local/etc/php/php.ini
links:
- postgres
- redis
ports:
- "35729:35729"
depends_on:
- postgres
- redis
redis:
image: redis:4.0-alpine
container_name: shopsys-framework-redis
redis-admin:
image: erikdubbelboer/phpredisadmin:v1.10.2
container_name: shopsys-framework-redis-admin
environment:
- REDIS_1_HOST=redis
links:
- redis
depends_on:
- redis
ports:
- "1600:80"
selenium-server:
image: selenium/standalone-chrome:3.11
container_name: shopsys-framework-acceptance-tests
ports:
- "4400:4444"
environment:
- HUB_PORT_4444_TCP_ADDR=hub
- HUB_PORT_4444_TCP_PORT=4444
links:
- webserver
adminer:
image: adminer:4.6
container_name: shopsys-framework-adminer
ports:
- "1100:8080"
links:
- postgres
depends_on:
- postgres
smtp-server:
image: namshi/smtp:latest
container_name: shopsys-framework-smtp-server
volumes:
shopsys-framework-sync:
external: true
shopsys-framework-postgres-data-sync:
external: true