-
Notifications
You must be signed in to change notification settings - Fork 21
/
docker-compose.yml
73 lines (73 loc) · 1.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
version: '2'
services:
nginx:
image: evild/alpine-nginx:1.11.2-libressl
container_name: wordpress_nginx
restart: always
volumes:
- .:/var/www/html/:rw
- ./nginx/conf/nginx.conf:/etc/nginx/conf/nginx.conf:ro
- ./nginx/conf.d:/etc/nginx/conf.d:ro
ports:
- 80:80
- 443:443
networks:
- front
php:
build: .
container_name: php
restart: always
volumes:
- .:/var/www/html:rw
- ./php/upload.ini:/usr/local/etc/php/conf.d/uploads.ini
- ./php/php.ini:/usr/local/etc/php/php.ini
depends_on:
- db
links:
- db
environment:
- MYSQL_ADDON_DB=wordpress
- MYSQL_ADDON_HOST=db
- MYSQL_ADDON_USER=root
- MYSQL_ADDON_PASSWORD=password
- AUTH_KEY=''
- SECURE_AUTH_KEY=''
- LOGGED_IN_KEY=''
- NONCE_KEY=''
- AUTH_SALT=''
- SECURE_AUTH_SALT=''
- LOGGED_IN_SALT=''
- NONCE_SALT=''
networks:
- front
- back
db:
image: mariadb:10
container_name: wordpress_mariadb
restart: always
ports:
- 3306:3306
environment:
- MYSQL_ROOT_PASSWORD=password
networks:
- back
hub:
image: selenium/hub
container_name: wordpress_selenium-hub
ports:
- "4444:4444"
networks:
- back
chrome:
container_name: selenium-chrome
image: selenium/node-chrome
restart: always
links:
- hub
environment:
- HUB_PORT_4444_TCP_ADDR=hub
networks:
- back
networks:
front:
back: