Skip to content

Commit be7a003

Browse files
Gabriel MonroyMatthew Fisher
authored andcommitted
chore(docker): move deis meta project to contrib/docker
1 parent 802666b commit be7a003

5 files changed

Lines changed: 5 additions & 39 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ RUN apt-get install -yq aufs-tools iptables ca-certificates
88
RUN echo "deb http://get.docker.io/ubuntu docker main" > /etc/apt/sources.list.d/docker.list
99
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9
1010
RUN apt-get update -q
11-
RUN apt-get install -yq lxc-docker-0.9.0
11+
RUN apt-get install -yq lxc-docker-0.9.1
1212

1313
# add scripts to /app/bin
1414
RUN mkdir -p /app

deis/Makefile renamed to contrib/docker/Makefile

Lines changed: 2 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,11 @@
1-
#
2-
# Deis Makefile
3-
#
4-
DEIS_IMAGE=deis/deis:latest
5-
DEIS_NAME=deis
6-
DISCOVERY_PORT=4001
7-
DISCOVERY_PEER_PORT=7001
8-
DISCOVERY_IMAGE=deis/discovery:latest
9-
DISCOVERY_NAME=deis-discovery
10-
LOGGER_PORT=514
11-
LOGGER_IMAGE=deis/logger:latest
12-
LOGGER_NAME=deis-logger
13-
DATABASE_PORT=5432
14-
DATABASE_IMAGE=deis/database:latest
15-
DATABASE_NAME=deis-database
16-
CACHE_PORT=6379
17-
CACHE_IMAGE=deis/cache:latest
18-
CACHE_NAME=deis-cache
19-
CONTROLLER_PORT=8000
20-
CONTROLLER_IMAGE=deis/controller:latest
21-
CONTROLLER_NAME=deis-controller
22-
# uses docker0 bridge for inter-container communication
23-
# this assumes the address is static
24-
ETCD=172.17.42.1:4001
25-
261
all: build run
272

283
build:
294
docker build -t deis/deis:latest .
305

316
run:
32-
docker run --privileged -v /var/run/docker.sock:/var/run/docker.sock deis/deis
7+
docker run --privileged deis/deis
8+
#docker run --privileged -v /var/run/docker.sock:/var/run/docker.sock deis/deis
339

3410
stop:
3511
-docker stop $(DISCOVERY_NAME)
Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,10 @@ Vagrant.configure("2") do |config|
2424
echo "deb http://get.docker.io/ubuntu docker main" > /etc/apt/sources.list.d/docker.list
2525
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9
2626
apt-get update -q
27-
apt-get install -yq lxc lxc-docker-0.9.0
27+
apt-get install -yq lxc lxc-docker-0.9.1
2828
# bind to private interface
2929
sed -i -e 's/#DOCKER_OPTS="-dns 8.8.8.8 -dns 8.8.4.4"/DOCKER_OPTS="-e lxc -H unix:\\/\\/var\\/run\\/docker.sock -H tcp:\\/\\/192.168.61.100:4243"/' /etc/default/docker
3030
restart docker
31-
echo
32-
echo To connect to the Docker Host:
33-
echo
34-
echo export DOCKER_HOST=tcp://192.168.61.100:4243
3531
SCRIPT
3632

37-
end
38-
39-
# If you want to do some funky custom stuff to your box, but don't want those things tracked by git,
40-
# add a Vagrantfile.local and it will be included. You can use the exact same syntax as above. For
41-
# example if you're low on RAM you can boot the VM with less RAM. Note that 2GB is recommended
42-
# for installation, but you may be able to get away with 1GB once everything is installed.
43-
load "Vagrantfile.local" if File.exists? "Vagrantfile.local"
33+
end
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)