summaryrefslogtreecommitdiff
path: root/files/docker-compose.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'files/docker-compose.yaml')
-rw-r--r--files/docker-compose.yaml17
1 files changed, 17 insertions, 0 deletions
diff --git a/files/docker-compose.yaml b/files/docker-compose.yaml
new file mode 100644
index 0000000..48f5b6e
--- /dev/null
+++ b/files/docker-compose.yaml
@@ -0,0 +1,17 @@
+nginx:
+ image: "nginx:1.9"
+ ports:
+ - 443:443
+ links:
+ - registry:registry
+ volumes:
+ - ./nginx/:/etc/nginx/conf.d:ro
+registry:
+ image: registry:2
+ ports:
+ - 127.0.0.1:5000:5000
+ environment:
+ REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY: /data
+ REGISTRY_STORAGE_DELETE_ENABLED: "true"
+ volumes:
+ - ./data:/data