You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
367 B
17 lines
367 B
version: '3' |
|
|
|
services: |
|
nginx: |
|
image: nginx:1.16-alpine |
|
ports: |
|
- 8080:80 |
|
volumes: |
|
- ./nginx/nginx.conf:/etc/nginx/nginx.conf |
|
- ./nginx/conf.d:/etc/nginx/conf.d |
|
- ./nginx/log:/var/log/nginx |
|
- ./nginx/static:/usr/share/nginx/html |
|
restart: always |
|
environment: |
|
- TZ=Asia/Shanghai |
|
networks: |
|
- default |