Skip to content

Commit

Permalink
move from docker cloud to rocker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrlok committed Apr 7, 2016
1 parent 288281c commit 8c8ef6a
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile → Rockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ RUN hugo -t angels-ladder
VOLUME /opt/ctrlok.com/public
ADD nginx/default.conf /etc/nginx/conf.d/default.conf
VOLUME /etc/nginx/conf.d
TAG ctrlok/ctrlok.com:latest
22 changes: 22 additions & 0 deletions compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
namespace: ctrlok
containers:
web:
image: ctrlok/ctrlok.com:latest
slackin:
image: chk1/slackin
env:
SLACK_ORG: ukrops
SLACK_TOKEN: {{.token}}
PORT: 3000
HOSTNAME: 0.0.0.0
nginx:
image: nginx:alpine
volumes_from:
- web
ports:
- 80:80
- 443:443
volumes:
- /ssl:/etc/nginx/ssl
links:
- slackin
2 changes: 1 addition & 1 deletion nginx/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@ server {
listen 80;
server_name slack.ukrops.club;
location / {
proxy_pass http://10.7.0.3:3000;
proxy_pass http://slackin:3000;
}
}

0 comments on commit 8c8ef6a

Please sign in to comment.