This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
upstream docker-registry { | |
server registry:5000; | |
} | |
server { | |
listen 80; | |
server_name ubdocker.com; | |
# SSL | |
# ssl on; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nginx: | |
image: "nginx:1.9" | |
ports: | |
- 80:80 | |
links: | |
- registry:registry | |
volumes: | |
- ./nginx/:/etc/nginx/conf.d | |
registry: | |
image: registry:2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Based on Ubuntu 14.04 Image | |
############################################################ | |
# Set the base image to use to Ubuntu | |
FROM ubuntu:14.04 | |
MAINTAINER Maintaner Stefan | |
RUN apt-get update && apt-get install -y openssh-server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*Licensed under Creative Commons 0 Public Domain (CC0)*/ | |
/*There is no Copyright nor author, it's a general and assembled public work*/ | |
/*AS the License states, any other mixation, redistribution, and so forth of this work will not have any author.*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <errno.h> | |
#include <sys/types.h> | |
#include <sys/stat.h> | |
#include <linux/inotify.h> |