forked from dockersamples/example-voting-app
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathcodeship-services.yml
53 lines (47 loc) · 1.01 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
version: "3"
services:
vote:
build:
context: ./vote
dockerfile: Dockerfile
image: rheinwein/examplevotingapp-vote
command: python app.py
volumes:
- ./vote:/app
#depends_on:
# - db
cached: true
result:
build:
context: ./result
dockerfile: Dockerfile
image: rheinwein/examplevotingapp-result
command: nodemon server.js
volumes:
- ./result:/app
#depends_on:
# - db
cached: true
worker:
build:
context: ./worker
dockerfile: Dockerfile
image: rheinwein/examplevotingapp-worker
#depends_on:
# - redis
cached: true
redis:
image: redis:alpine
container_name: redis
db:
#image: healthcheck/postgres:alpine
image: postgres:9.6
container_name: db
volumes:
- "db-data:/var/lib/postgresql/data"
google-cloud-deployment:
image: codeship/google-cloud-deployment
encrypted_env_file: gke.encrypted
entrypoint: "/bin/bash"
volumes:
- ./deploy:/deploy