Skip to content

Commit e0cb389

Browse files
committed
Easier setup for local dev with SingularityService
1 parent 7810daf commit e0cb389

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

compose-dev.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ master:
1010
net: host
1111
environment:
1212
MESOS_ZK: zk://localhost:2181/mesos
13-
MESOS_HOSTNAME: localhost
14-
MESOS_IP: 127.0.0.1
13+
MESOS_HOSTNAME: ${DOCKER_IP}
14+
MESOS_IP: ${DOCKER_IP}
1515
MESOS_QUORUM: 1
1616
MESOS_CLUSTER: docker-compose
1717
MESOS_WORK_DIR: /var/lib/mesos

dev

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
DOCKER_IP=`echo "$DOCKER_HOST" | awk -F/ '{print $3}' | awk -F: '{print $1}'`
3+
export DOCKER_IP=`echo "$DOCKER_HOST" | awk -F/ '{print $3}' | awk -F: '{print $1}'`
44

55
function pull {
66
docker-compose -f compose-dev.yml pull

0 commit comments

Comments
 (0)