summaryrefslogtreecommitdiff
path: root/docker-compose.yml
diff options
context:
space:
mode:
author陆秋文 <[email protected]>2019-05-24 14:00:55 +0800
committer陆秋文 <[email protected]>2019-05-24 14:00:55 +0800
commitb86f1be0466ace61c330706127e30960bfefb569 (patch)
tree9ce4a47ab52a0c71a4e240355556bfa925494e49 /docker-compose.yml
整理性能测试用nginx测试容器,改用docker-compose编排,避免手动操作HEADmaster
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
new file mode 100644
index 0000000..a2d11a6
--- /dev/null
+++ b/docker-compose.yml
@@ -0,0 +1,12 @@
+version: '3'
+services:
+ nginx:
+ image: nginx:latest
+ container_name: performance-test-nginx-server
+ volumes:
+ - ./conf/nginx.conf:/etc/nginx/nginx.conf
+ - ./ssl/:/etc/nginx/ssl/
+ - ./static/:/usr/share/nginx/html/
+ ports:
+ - 80:80
+ - 443:443