forked from mozilla-services/autopush
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
47 lines (47 loc) · 1.23 KB
/
docker-compose.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
version: '2'
services:
autopush:
build: .
# If you do not wish to use a local build, comment out
# the previous 'build:' line and uncomment the following
# 'image:' line. This will use the latest production
# built image.
#image: mozilla/autopush
hostname: autopush
environment:
- LOCAL_HOSTNAME=localhost
- ROUTER_HOSTNAME=autopush
- AWS_LOCAL_DYNAMODB=http://dynamodb:8000
- HUMAN_LOGS=true
- CRYPTO_KEY=${CRYPTO_KEY}
ports:
- "8080:8080"
- "8081:8081"
links:
- dynamodb
volumes:
- ./boto-compose.cfg:/etc/boto.cfg:ro
autoendpoint:
build: .
# If you do not wish to use a local build, comment out
# the previous 'build:' line and uncomment the following
# 'image:' line. This will use the latest production
# built image.
#image: mozilla/autopush
hostname: autoendpoint
command: autoendpoint
environment:
- HUMAN_LOGS=true
- CRYPTO_KEY=${CRYPTO_KEY}
- AWS_LOCAL_DYNAMODB=http://dynamodb:8000
ports:
- "8082:8082"
links:
- dynamodb
volumes:
- ./boto-compose.cfg:/etc/boto.cfg:ro
dynamodb:
image: peopleperhour/dynamodb
hostname: dynamodb
expose:
- "8000"