-
Notifications
You must be signed in to change notification settings - Fork 3
/
codeship-services.yml
62 lines (56 loc) · 1.15 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
test:
build:
image: test
dockerfile_path: docker/test.Dockerfile
volumes:
- .:/vols/src
links:
- mysql
- memcached
- redis
environment:
- DB_HOST=mysql
- DB_PORT=3306
- DB_DATABASE=tenfour
- DB_USERNAME=tenfour
- DB_PASSWORD=tenfour
- APP_ENV=testing
- REDIS_HOST=redis
- REDIS_PORT=6379
extra_hosts:
- "rollcall.dev:127.0.0.1"
- "api.rollcall.dev:127.0.0.1"
- "tenfour.local:127.0.0.1"
- "api.tenfour.local:127.0.0.1"
cached: true
default_cache_branch: develop
mysql:
image: mysql:5.7
environment:
- MYSQL_DATABASE=tenfour
- MYSQL_USER=tenfour
- MYSQL_PASSWORD=tenfour
- MYSQL_ROOT_PASSWORD=root
deploy:
image: ushahidi/engineering-deployer:master
encrypted_env_file: deployment.env.encrypted
environment:
AWS_DEFAULT_REGION: us-east-1
volumes:
- .:/vols/src
memcached:
image: memcached
redis:
image: redis:3.2
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