forked from ushahidi/platform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
codeship-services.yml
66 lines (59 loc) · 1.24 KB
/
codeship-services.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
build:
build:
image: build
dockerfile_path: docker/build.Dockerfile
volumes:
- .:/vols/src
- ./tmp/out:/vols/out
cached: true
default_cache_branch: develop
release:
build:
image: release
dockerfile_path: docker/release.Dockerfile
volumes:
- ./tmp/out:/release
encrypted_env_file: deployment.env.encrypted
cached: true
default_cache_branch: master
deploy:
image: ushahidi/engineering-deployer:latest
encrypted_env_file: deployment.env.encrypted
test:
build:
image: test
dockerfile_path: docker/test.Dockerfile
volumes:
- .:/vols/src
links:
- mysql
environment:
- DB_HOST=mysql
- DB_PORT=3306
- DB_DATABASE=ushahidi
- DB_USERNAME=ushahidi
- DB_PASSWORD=ushahidi
- KOHANA_ENV=testing
extra_hosts:
- "ushahidi.dev:127.0.0.1"
cached: true
default_cache_branch: develop
mysql:
image: mysql:5.6
environment:
- MYSQL_DATABASE=ushahidi
- MYSQL_USER=ushahidi
- MYSQL_PASSWORD=ushahidi
- MYSQL_ROOT_PASSWORD=root
aglio:
image: humangeo/aglio
volumes:
- .:/vols/src
awscli:
build:
image: awscli
dockerfile_path: docker/awscli.Dockerfile
volumes:
- .:/vols/src
encrypted_env_file: deployment.env.encrypted
cached: true