12 changed files with 48 additions and 18 deletions
@ -0,0 +1,14 @@ |
|||
version: '3.7' |
|||
services: |
|||
web: |
|||
image: nginx |
|||
ports: |
|||
- 443:443 |
|||
volumes: |
|||
- /mnt/nginx/html:/usr/share/nginx/html |
|||
- /mnt/nginx/conf/nginx.conf:/etc/nginx/nginx.conf:ro |
|||
- /mnt/nginx/conf.d:/etc/nginx/conf.d:ro |
|||
- /mnt/nginx/logs:/var/log/nginx |
|||
restart: always |
|||
container_name: nginx_master |
|||
|
|||
@ -0,0 +1,15 @@ |
|||
version: '3.7' |
|||
services: |
|||
web: |
|||
image: nginx |
|||
ports: |
|||
- 443:443 |
|||
volumes: |
|||
- /opt/docker/nginx/html:/usr/share/nginx/html |
|||
- /opt/docker/nginx/conf/nginx.conf:/etc/nginx/nginx.conf:ro |
|||
- /opt/docker/nginx/conf.d:/etc/nginx/conf.d:ro |
|||
- /opt/docker/nginx/logs:/var/log/nginx |
|||
- /opt/docker/nginx/cert:/etc/nginx/cert:ro |
|||
restart: always |
|||
container_name: nginx_master |
|||
|
|||
Loading…
Reference in new issue