summaryrefslogtreecommitdiff
path: root/examples/docker/docker-compose.yml
diff options
context:
space:
mode:
authorkmeister <kris@aliencom.net>2017-04-13 16:10:30 -0400
committerkmeister <kris@aliencom.net>2017-04-13 16:10:30 -0400
commit62a13d5307c50c3241998f6352e96e8ed72d631b (patch)
treebd8603434f72f7c816b2a62483b7807285596d37 /examples/docker/docker-compose.yml
parent252b0413b5bd940f6447656a8630c671b50d99c8 (diff)
[docker-example] nginx fronting ponzu
Diffstat (limited to 'examples/docker/docker-compose.yml')
-rw-r--r--examples/docker/docker-compose.yml20
1 files changed, 10 insertions, 10 deletions
diff --git a/examples/docker/docker-compose.yml b/examples/docker/docker-compose.yml
index 506f2d2..8c28467 100644
--- a/examples/docker/docker-compose.yml
+++ b/examples/docker/docker-compose.yml
@@ -14,18 +14,18 @@ admin:
command: bash /go/src/project/start_admin.sh start
# service configuration for our web server
-# web:
+web:
- # set the build context to web directory
-# build: ./web
+ # use the dockerfile in the web directory
+ build: ./web
- # build with a different Dockerfile
-# dockerfile: config/containers/Dockerfile-nginx
+ volumes:
+ - ./web/public:/public
- # makes the web container aware of the app container
-# links:
-# - admin
+ # makes the web container aware of the admin container
+ links:
+ - admin
# expose the port we configured Nginx to bind to
-## ports:
-# - "80:80"
+ ports:
+ - "80:80"