forked from ushahidi/platform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
codeship-services.yml
43 lines (43 loc) · 917 Bytes
/
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
build:
build:
image: build
dockerfile_path: docker/build.Dockerfile
volumes:
- .:/vols/src
- ./tmp/out:/vols/out
release:
build:
image: release
dockerfile_path: docker/release.Dockerfile
volumes:
- ./tmp/out:/release
encrypted_env_file: deployment.env.encrypted
deploy:
build:
image: deploy
dockerfile_path: docker/deploy.Dockerfile
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"
mysql:
image: mysql:5.5
environment:
- MYSQL_DATABASE=ushahidi
- MYSQL_USER=ushahidi
- MYSQL_PASSWORD=ushahidi
- MYSQL_ROOT_PASSWORD=root