This repository has been archived by the owner on Jan 28, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-ci.yml
89 lines (81 loc) · 1.88 KB
/
docker-compose-ci.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
# Docker Compose (v2)
version: "2"
services:
web_scripts:
build:
context: docker/images/ci
args:
- http_proxy=${HTTP_PROXY}
- https_proxy=${HTTP_PROXY}
- HTTP_PROXY=${HTTP_PROXY}
- HTTPS_PROXY=${HTTP_PROXY}
environment:
- DRUPAL_SETTINGS=production
- http_proxy=${HTTP_PROXY}
- https_proxy=${HTTP_PROXY}
- HTTP_PROXY=${HTTP_PROXY}
- HTTPS_PROXY=${HTTP_PROXY}
volumes:
- ./:/var/www
container_name: siteopendata_web_scripts
web:
build:
context: docker/images/ci
args:
- http_proxy=${HTTP_PROXY}
- https_proxy=${HTTP_PROXY}
- HTTP_PROXY=${HTTP_PROXY}
- HTTPS_PROXY=${HTTP_PROXY}
environment:
- DRUPAL_SETTINGS=production
- http_proxy=${HTTP_PROXY}
- https_proxy=${HTTP_PROXY}
- HTTP_PROXY=${HTTP_PROXY}
- HTTPS_PROXY=${HTTP_PROXY}
volumes:
- ./:/var/www
depends_on:
- postgres
ports:
- "9000"
container_name: siteopendata_web
postgres:
image: postgres:9.5-alpine
environment:
- POSTGRES_DB=od
- POSTGRES_USER=od
- POSTGRES_PASSWORD=od
volumes:
- db_data:/var/lib/postgresql
- ./files_private/od:/database/
ports:
- "5432:5432"
container_name: siteopendata_postgres
nginx:
image: nginx:alpine
volumes:
- ./html:/var/www/html
- ./docker/conf/nginx.conf:/etc/nginx/nginx.conf:ro
ports:
- '80:80'
depends_on:
- web
restart: always
container_name: siteopendata_nginx
hub:
image: drupalcomposer/selenium:hub
ports:
- "4444:4444"
depends_on:
- postgres
- web
container_name: siteopendata_hub
firefox:
image: drupalcomposer/selenium:node-firefox
depends_on:
- postgres
- web
- hub
container_name: siteopendata_firefox
volumes:
db_data: