forked from goalgorilla/drupal_social
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-nightly-build.yml
59 lines (53 loc) · 1.63 KB
/
docker-compose-nightly-build.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
version: "2"
services:
# Currently behind a firewall and not available for the public.
# Uses the nginx/jwilder proxy to link to the correct docker container.
social_nightly_web:
image: goalgorilla/drupal_social
links:
- social_nightly_db:db
- social_nightly_mailcatcher:mailcatcher
ports:
- "80"
environment:
- VIRTUAL_HOST=nightly_build.socialci.goalgorilla.com
- DRUPAL_SETTINGS=production
volumes:
- /root/drupal_social/social-jenkins-data/workspace/nightly_build/dev-scripts:/root/dev-scripts
- social_sites_default:/var/www/html/sites/default
network_mode: "bridge"
social_nightly_db:
image: mysql:5.6
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=social
volumes:
- social_db_data:/var/lib/mysql
network_mode: "bridge"
social_nightly_mailcatcher:
image: schickling/mailcatcher
environment:
- VIRTUAL_HOST=mailcatcher.nightly_build.socialci.goalgorilla.com
- VIRTUAL_PORT=1080
ports:
- "1080"
network_mode: "bridge"
social_nightly_cron:
build: docker_build/cron
volumes:
- social_sites_default:/var/www/html/sites/default
links:
- social_nightly_db:db
network_mode: "bridge"
# Currently disabled because of rate limits.
# Enable and use the normal ssmtp.conf file to sent emails with postfix.
#social_nightly_mailserver:
# image: marvambass/versatile-postfix
# environment:
# - ALIASES=postmaster:root;hostmaster:root;webmaster:root
# ports:
# - "25"
# command: socialci.goalgorilla.com user:password
volumes:
social_db_data:
social_sites_default: