-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
99 lines (91 loc) · 2.51 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
version: '2'
services:
app_server:
build: dev-ops/docker/containers/php7
volumes:
- ~/.composer/cache:/var/www/composer-cache-dir
- .:/project
- .:/var/www/shopware
environment:
TERM: xterm
COMPOSER_CACHE_DIR: /var/www/composer-cache-dir
ports:
- "8088:80"
networks:
sw_docker_swag_essentials:
ipv4_address: 10.123.123.30
app_node_1_server:
build: dev-ops/docker/containers/php7
volumes:
- ~/.composer/cache:/var/www/composer-cache-dir
- .:/project
- .:/var/www/shopware
environment:
TERM: xterm
COMPOSER_CACHE_DIR: /var/www/composer-cache-dir
ports:
- "8089:80"
networks:
sw_docker_swag_essentials:
ipv4_address: 10.123.123.31
app_node_2_server:
build: dev-ops/docker/containers/php7
volumes:
- ~/.composer/cache:/var/www/composer-cache-dir
- .:/project
- .:/var/www/shopware
environment:
TERM: xterm
COMPOSER_CACHE_DIR: /var/www/composer-cache-dir
ports:
- "8090:80"
networks:
sw_docker_swag_essentials:
ipv4_address: 10.123.123.32
mysql_master:
build: dev-ops/docker/containers/mysql-master
volumes:
- ./dev-ops/docker/_volumes/app-mysql-master-data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: root
networks:
sw_docker_swag_essentials:
ipv4_address: 10.123.123.40
mysql_slave:
build: dev-ops/docker/containers/mysql-slave
volumes:
- ./dev-ops/docker/_volumes/app-mysql-slave-data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: root
networks:
sw_docker_swag_essentials:
ipv4_address: 10.123.123.41
app_es:
build: dev-ops/docker/containers/elastic-search
volumes:
- ./dev-ops/docker/containers/elastic-search/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
- ./dev-ops/docker/_volumes/app-es-data:/usr/share/elasticsearch/data
ports:
- "9200:9200"
- "9300:9300"
environment:
TERM: xterm
ES_JAVA_OPTS: "-Xmx256m -Xms256m"
networks:
sw_docker_swag_essentials:
ipv4_address: 10.123.123.50
app_redis:
build: dev-ops/docker/containers/redis
volumes:
- ./dev-ops/docker/_volumes/app-redisdata:/data
networks:
sw_docker_swag_essentials:
ipv4_address: 10.123.123.60
networks:
sw_docker_swag_essentials:
driver: bridge
ipam:
driver: default
config:
- subnet: 10.123.123.0/24
gateway: 10.123.123.1