Skip to content

Commit

Permalink
refs #8: Minor fixes to docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
achimnol committed Apr 29, 2017
1 parent f5b95f5 commit 95c6f1e
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,14 @@ services:
- "SORNA_DB_ADDR=sorna-db:5432" # provisioned to agent via ectd
- "SORNA_ETCD_ADDR=sorna-etcd:2379"
- "SORNA_REDIS_ADDR=sorna-redis:6379" # private use (rate-limit)
ports:
ports: # for host-side debugging / integration tests
- "8081:8080"
- "8443:8443"

sorna-agent:
container_name: sorna-agent
build:
context: sorna-agent
environment:
- SORNA_MQ_ADDR=sorna-mq
- SORNA_ETCD_ADDR=sorna-etcd
volumes:
- ./sorna-agent:/usr/src/app
environment:
Expand All @@ -53,7 +50,7 @@ services:
sorna-redis:
container_name: sorna-redis
image: redis:latest
ports:
ports: # for host-side debugging
- "6389:6379"

sorna-mq:
Expand All @@ -64,7 +61,7 @@ services:
sorna-db:
container_name: sorna-db
image: postgres:9.6-alpine
ports:
ports: # for host-side debugging
- "5442:5432"
environment:
- POSTGRES_PASSWORD=develove
Expand All @@ -75,7 +72,7 @@ services:
image: quay.io/coreos/etcd:v3.1.5
volumes:
- /tmp/etcd-data:/etcd-data
ports:
ports: # for host-side debugging
- "2379:2379"
- "2380:2380"
command: >
Expand Down

0 comments on commit 95c6f1e

Please sign in to comment.