diff options
| author | wangchengcheng <[email protected]> | 2023-07-27 15:43:51 +0800 |
|---|---|---|
| committer | wangchengcheng <[email protected]> | 2023-07-27 15:43:51 +0800 |
| commit | 124f687daace8b85e5c74abac04bcd0a92744a8d (patch) | |
| tree | 4f563326b1be67cfb51bf6a04f1ca4d953536e76 /MSH-PIC/galaxy-hos-nginx/docker-compose.yml | |
| parent | 08686ae87f9efe7a590f48db74ed133b481c85b1 (diff) | |
P19 23.07 online-configP19
Diffstat (limited to 'MSH-PIC/galaxy-hos-nginx/docker-compose.yml')
| -rw-r--r-- | MSH-PIC/galaxy-hos-nginx/docker-compose.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/MSH-PIC/galaxy-hos-nginx/docker-compose.yml b/MSH-PIC/galaxy-hos-nginx/docker-compose.yml new file mode 100644 index 0000000..ec088fe --- /dev/null +++ b/MSH-PIC/galaxy-hos-nginx/docker-compose.yml @@ -0,0 +1,16 @@ +version: '3' +services: + nginx: + image: nginx-metrics:1.17.0 + container_name: galaxy-hos-nginx + restart: always + ports: + - 80:80 + volumes: + - /home/tsg/olap/galaxy/volumes/galaxy-hos-nginx/conf/nginx.conf:/usr/local/nginx/conf/nginx.conf + - /home/tsg/olap/galaxy/volumes/galaxy-hos-nginx/conf/self-sign.crt:/usr/local/nginx/conf/self-sign.crt + - /home/tsg/olap/galaxy/volumes/galaxy-hos-nginx/conf/self-sign.key:/usr/local/nginx/conf/self-sign.key + - /home/tsg/olap/galaxy/volumes/galaxy-hos-nginx/logs:/usr/local/nginx/logs + working_dir: /etc/nginx + command: /etc/nginx/nginx -g 'daemon off;' + network_mode: "host" |
